]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Packaging cleanup: remove conditionals for < 2.6 support.
authorÉric Araujo <merwok@netwok.org>
Sat, 17 Sep 2011 01:31:51 +0000 (03:31 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 17 Sep 2011 01:31:51 +0000 (03:31 +0200)
commit7724a6c10c56a1b14b4933de368e672eae840f47
tree1b3bd60ab9b79bd018cbc942a8e12140b2e18576
parent37ccd6f794539e0678b7a7ad938e571cc73e106c
Packaging cleanup: remove conditionals for < 2.6 support.

PEP 370 features and sys.dont_write_bytecode are always available
in 3.3; the distutils2 backport still has the conditionals.

I also renamed an internal misnamed method and fixed a few things
(“packaging2” name, stray print, unused import, fd leak).
16 files changed:
Lib/packaging/command/build_ext.py
Lib/packaging/command/build_py.py
Lib/packaging/command/install_dist.py
Lib/packaging/command/install_distinfo.py
Lib/packaging/command/install_lib.py
Lib/packaging/compiler/bcppcompiler.py
Lib/packaging/compiler/ccompiler.py
Lib/packaging/compiler/unixccompiler.py
Lib/packaging/dist.py
Lib/packaging/tests/test_command_build_ext.py
Lib/packaging/tests/test_command_build_py.py
Lib/packaging/tests/test_command_install_dist.py
Lib/packaging/tests/test_command_install_lib.py
Lib/packaging/tests/test_mixin2to3.py
Lib/packaging/tests/test_util.py
Lib/packaging/util.py