Skip to content

Commit

Permalink
exclude folders from pypi package build
Browse files Browse the repository at this point in the history
  • Loading branch information
arogozhnikov committed Sep 9, 2024
1 parent 621e94c commit c073eb6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,19 @@ ignore_missing_imports = true

[tool.pytest.ini_options]
cache_dir = "/tmp/.common_pytest_cache"


[tool.hatch.build.targets.sdist]
exclude = [
"/.devcontainer",
"/.github",
"/.idea",
"/.vscode",
"/.pytest_cache",
"/assets",
"/downloads",
"/outputs",
]

[tool.hatch.build.targets.wheel]
# should use packages from sdist section

0 comments on commit c073eb6

Please sign in to comment.