[Distutils] Python module for use in ‘setup.py’ but not to install

Barry Warsaw barry at python.org
Tue Jan 20 16:42:22 CET 2015

On Jan 19, 2015, at 07:23 PM, Ben Finney wrote:

>My understanding, based on an answer received elsewhere [0], is that
>omitting the file from ‘setup.py’ but adding it to ‘MANIFEST.in’ causes
>it to be included in the sdist but omitted from install targets.

I haven't read the whole thread (no time right now) but this is a pretty
standard solution for packaging problems I've had with Debian.   If a file
(like MANIFEST.in itself) is not included in the sdist, then building the
binary package will often fail.  I forget the exact symptoms, but it's
probably easily reproducible if you care.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20150120/40a24213/attachment.sig>

More information about the Distutils-SIG mailing list