Skip to content

Commit

Permalink
exclude test databases from the build output
Browse files Browse the repository at this point in the history
  • Loading branch information
karakanb committed Jul 16, 2024
1 parent 6bfe2ee commit 7ef90af
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ build:
rm -rf dist && python3 -m build

upload-release:
twine upload dist/*
twine upload --verbose dist/*
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,11 @@ packages = ["ingestr"]
[project.scripts]
ingestr = "ingestr.main:main"

[tool.hatch.build.targets.sdist]
exclude = [
"*_test.py",
"*.db"
]

[tool.hatch.metadata.hooks.requirements_txt]
files = ["requirements.txt"]
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
mypy==1.9.0
pytest-cov==4.1.0
pytest==8.1.1
ruff==0.3.7
hatchling==1.24.1
ruff==0.5.2
hatchling==1.25.0
build==1.2.1
twine==5.0.0
twine==5.1.1
testcontainers[postgres,mysql]==4.7.1

0 comments on commit 7ef90af

Please sign in to comment.