Skip to content

Commit

Permalink
remove MANIFEST.in and define accurately the included/excluded files
Browse files Browse the repository at this point in the history
  • Loading branch information
luclaurent committed Feb 15, 2024
1 parent 154d120 commit c7bef21
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

29 changes: 27 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,31 @@ version-file = "src/push2HAL/version.py"

[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.vscode",
"deploy.sh",
".gitignore",
".github",
".vscode",
"examples/use-cases/json",
"examples/use-cases/data",
"examples/use-cases/*.pdf",
"examples/use-cases/*.zip",
"examples/use-cases/.*",
"examples/*.xml",
"*.pdf",
"*.xml",
"*.zip",
".apihal"
]
include = [
"src",
"tests",
"references",
"examples/use-cases/*.py",
"examples/use-cases/*.py",
"examples/.apihal_example",
"examples/test.json",
"examples/test_comments.json",
"examples/file.pdf",
]


Expand All @@ -66,3 +89,5 @@ cov = 'pytest tests --cov-report=term-missing --cov-config=pyproject.toml --cov=

[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]


0 comments on commit c7bef21

Please sign in to comment.