Move `test` into `pymarc`
pjw91 opened this issue · comments
Patrick Wang commented
Then, there will not be a test
folder in the site-packages
, it will appears in site-packages/pymarc/test
What you need to do are:
git mv test pymarc/
sed -i "s/'test\//'pymarc\/test\//g" pymarc/test/*.py
sed -i "s/'test'/'pymarc\.test'/" setup.py
Geoffrey Spear commented
I was actually going to suggest this ages ago; having a separate package named "test" is, IMHO, a bad practice, and makes it hard to run the test suite for installed packages. (Plus it can shadow the stdlib test
module if you're not careful.)
Ed Summers commented
it's bad that it's installing test at all ; it should be possible to limit this in setup.py