[Distutils] wheel including files it shouldn't

Paul Moore p.f.moore at gmail.com
Tue Apr 26 10:11:30 EDT 2016


On 26 April 2016 at 15:06, Ionel Cristian Mărieș <contact at ionelmc.ro> wrote:
> On Tue, Apr 26, 2016 at 4:46 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
>>
>> I just received a bug report for enum34 for python3 code in a test file.
>> Further research revealed that that file should not be included in the
>> distribution, and is not included in the .tar nor .zip bundles, only the
>> wheel bundle.
>>
>> Is this a known/fixed bug?  If not, where do I report it?
>
>
> It looks like you have published a wheel built from a dirty checkout. The
> 1.1.3 zip sdist produces a clean wheel, as expected. You should use
> https://pypi.python.org/pypi/check-manifest in your release process.

Ah, yes. enum/py35_test_enum.py is not part of the source tree or
sdist, but is in the "enum" package directory, so will get picked up
by packages=['enum']

Paul


More information about the Distutils-SIG mailing list