edsu / pymarc

process MARC records from Python

Home Page:http://python.org/pypi/pymarc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move `test` into `pymarc`

pjw91 opened this issue · comments

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

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.)

it's bad that it's installing test at all ; it should be possible to limit this in setup.py