rackerlabs/deuce — pull request #111 by raxyu (2014-08-26 16:21:23+00:00)
Title: 157_wheel_remove_tests: 1. Add exclusion in setup and MANIFEST, but only...

... works with new commands. see card for details

1. With the changes, the new commands are:

python setup.py sdist
pip wheel --no-index --no-deps --wheel-dir wheel dist/*.tar.gz

Which create a "source distribution" first, then pack it into a wheel.

2. The previous command

python setup.py bdist_wheel --dist-dir=wheel

cannot process MANIFEST.in correctly, which is known issue. The command does not break with new changes, it just cannot exclude all tests subdirectories.

3. After we drop Python2x, we may try distutils2 module to replace setuptools, which may solve the problem.