Remove tests from distribution
Closed this issue · 1 comments
orome commented
- Move
test/
folder to root of project (to ofcrypto_enigma
module). - Don't treat tests as a project module:
- don't list
.tests
as a module in `setup.py, and -
remove(This would prevent imports)__init__.py
fromtest/
folder.
- don't list
- Ask what best way to organize tests in a package is. Should they be distributed with the package? Is there a way to run them as part of installation (maybe in a
.b0
version on the test repository). How do I ensure that the code version of the package is being tested (e.g..crypto_enigma
and not some currently installed one)?
orome commented
See:
test_suite
in the setuptools documentation- a question about how to organize tests
- the relevant py.test docs