cpython/Lib/packaging
Éric Araujo 9f90a731eb Use sys.version_info instead of sys.version in packaging.
The contents of this attribute are an implementation detail, as
documented for #9442, so we should not parse it, to support non-CPython
VMs with distutils2 in the future.

Unfortunately, one use comes directly from PEP 345, so an edit will have
to be agreed before fixing the code (see comment in p7g.markers).

Other remaining uses are found in p7g.compiler and could be replaced by
the platform module (which also parses sys.version, but then it wouldn’t
be my fault :)
2012-02-10 05:20:53 +01:00
..
command Use sys.version_info instead of sys.version in packaging. 2012-02-10 05:20:53 +01:00
compiler Use sys.version_info instead of sys.version in packaging. 2012-02-10 05:20:53 +01:00
pypi Use sys.version_info instead of sys.version in packaging. 2012-02-10 05:20:53 +01:00
tests Use sys.version_info instead of sys.version in packaging. 2012-02-10 05:20:53 +01:00
__init__.py
_trove.py Update list of trove classifiers 2011-11-20 16:01:35 +01:00
compat.py Start improving 2to3 code in packaging (#13462). 2012-02-09 21:37:14 +01:00
config.py Allow multiple values for package_data in setup.cfg (#11805). 2012-02-04 21:53:07 +01:00
create.py Stop converting package_data to extra_files in pysetup create (#13712). 2012-02-05 10:26:16 +01:00
database.py
depgraph.py
dist.py
errors.py
fancy_getopt.py
install.py
manifest.py
markers.py Use sys.version_info instead of sys.version in packaging. 2012-02-10 05:20:53 +01:00
metadata.py The error message should contain the key as given, not normalized. 2011-11-14 19:45:30 +01:00
run.py Group commands by topic in “pysetup run --list-commands” output. 2012-02-09 14:29:11 +01:00
util.py Start improving 2to3 code in packaging (#13462). 2012-02-09 21:37:14 +01:00
version.py Fix typos in comments. 2012-02-06 16:12:21 +01:00