[issue11092] Setup.cfg isn't packaged when running sdist

Éric Araujo report at bugs.python.org
Wed Feb 2 21:34:05 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

No, because setup.cfg should always be included.  That’s a real bug.  In distutils1, test/*.py and README[.txt] were also included; the commit that changed that (374f93ab103c) introduced this bug:

-        optional = ['test/test*.py', 'setup.cfg']
-        for pattern in optional:
-            files = filter(os.path.isfile, glob(pattern))
-            if files:
-                self.filelist.extend(files)

I think setup.cfg should always be included if it exists; I’m not sure about setup.py, you may want to ask on the ML.

----------
nosy: +gotcha

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11092>
_______________________________________


More information about the Python-bugs-list mailing list