Skip to content

Commit

Permalink
Fix up MANIFEST.in
Browse files Browse the repository at this point in the history
- Include _build_meta.py so that python -m build works.
- Include all the test files in the sdist. Fixes #80.
  • Loading branch information
twm committed Jul 8, 2024
1 parent 2a50e4c commit e12b04a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
21 changes: 12 additions & 9 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
include .coveragerc
include LICENSE
include NEWS.rst
include towncrier.ini
include SECURITY.md
include tox.ini
exclude mypy.ini
include src/incremental/py.typed
include _build_meta.py

recursive-include src/incremental *.py
include src/incremental/py.typed
prune src/incremental/newsfragments

prune .travis
prune tests
global-exclude .coverage*
include .coveragerc

exclude examplesetup.py
prune src/exampleproj
graft tests
prune tests/example_*/src/*.egg-info
prune tests/example_*/build
prune tests/example_*/dist

global-exclude __pycache__ *.py[cod] *~

prune src/incremental/newsfragments
1 change: 1 addition & 0 deletions src/incremental/newsfragments/80.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Incremental's tests are now included in the sdist release artifact.

0 comments on commit e12b04a

Please sign in to comment.