Skip to content

fix: exclude tests from installed packages#185

Open
Sushanth012 wants to merge 1 commit into
khast3x:masterfrom
Sushanth012:fix/exclude-tests-package
Open

fix: exclude tests from installed packages#185
Sushanth012 wants to merge 1 commit into
khast3x:masterfrom
Sushanth012:fix/exclude-tests-package

Conversation

@Sushanth012

Copy link
Copy Markdown

Summary

  • exclude the root-level tests package from setup.py package discovery
  • add a packaging regression test to ensure tests is not included in install packages
  • read the version file with a context manager to avoid an unclosed-file warning while exercising setup.py

Testing

  • python -m unittest tests.test_packaging
  • python setup.py --name

Closes #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

packaging issue: deployment of tests

1 participant