cpython/Lib/packaging
Éric Araujo f89ebdc358 Fix missing imports in setup scripts generated by packaging (#13205).
I’ve made more edits than the bug report suggested to make sure the
generated setup script is compatible with many Python versions; a
comment in the source explains that in detail.

The cfg_to_args function uses old 2.x idioms like codecs.open and
RawConfigParser.readfp because I want the setup.py generated by packaging and
distutils2 to be the same.  Most users won’t see the deprecation warning and I
ignore it in the test suite.

Thanks to David Barnett for the report and original patch.
2011-10-21 06:27:06 +02:00
..
command More fixes for PEP 3147 compliance in packaging (#11254) 2011-10-19 08:18:05 +02:00
compiler Cleanup in packaging: super considered super 2011-10-14 17:04:39 +02:00
pypi Remove two unneeded attributes in packaging 2011-09-21 16:28:03 +02:00
tests Fix missing imports in setup scripts generated by packaging (#13205). 2011-10-21 06:27:06 +02:00
__init__.py
_trove.py Update list of trove classifiers to match PyPI 2011-08-30 19:05:46 +02:00
compat.py Final bag of small changes coming from distutils2. 2011-09-19 15:12:23 +02:00
config.py Don’t let invalid line in setup.cfg pass silently 2011-09-10 18:22:04 +02:00
create.py Avoid matching '' or 'yn' when asking for 'y' or 'n' in interactive code 2011-09-19 16:21:37 +02:00
database.py Make a number of small changes to ease the backport to distutils2 2011-09-18 20:11:48 +02:00
depgraph.py
dist.py Packaging cleanup: remove conditionals for < 2.6 support. 2011-09-17 03:31:51 +02:00
errors.py
fancy_getopt.py
install.py
manifest.py Increase test coverage for packaging.manifest (#11751). 2011-10-11 03:06:16 +02:00
markers.py
metadata.py Make one function in packaging.metadata simpler 2011-10-19 08:50:49 +02:00
run.py Fix return code of “pysetup run COMMAND” (closes #12222) 2011-10-06 05:28:56 +02:00
util.py Fix missing imports in setup scripts generated by packaging (#13205). 2011-10-21 06:27:06 +02:00
version.py Cosmetic fixes for whitespace and a regex in packaging. 2011-10-05 01:46:37 +02:00