pypa / setuptools

Official project repository for the Setuptools build system
https://pypi.org/project/setuptools/
MIT License
2.44k stars 1.17k forks source link

How to perform distutils --no-prune in setuptools? #1807

Open mr-eyes opened 5 years ago

mr-eyes commented 5 years ago

In the MANIFEST.IN I'm including from directory called build, setuptools automatically exclude this directory.

How to achieve the same behavior of python setup.py sdist --no-prune in setuptools to disable the standard “exclude” sets?

Thanks.

boegel commented 1 year ago

We're using this in a setup.cfg file:

[sdist]
# Don't remove CVS and RCS directories
prune = 0

That has been working fine for us, but for some reason it stopped working when using Python 3.11 (although perhaps a certain recent setuptools version had a change in behavior).