diff --git a/CHANGELOG.md b/CHANGELOG.md index 9140c49..950f82a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ #### :wrench: Fix 1. Fix: Remove an unexpected in-release package `version` which should only appear during the package building. +2. Find a way to include `tests.version` in `sdist` but exclude all `tests` codes in `wheel`. #### :floppy_disk: Change diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..16b52e4 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include tests/*.py diff --git a/setup.cfg b/setup.cfg index b896725..701892a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = syncstream -version = attr: version.__version__ +version = attr: tests.version.__version__ description = A python tool for synchronize the messages from different threads, processes or hosts. long_description = file: README.md long_description_content_type = text/markdown diff --git a/version/__init__.py b/tests/version.py similarity index 100% rename from version/__init__.py rename to tests/version.py