summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/compat.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-19 13:12:23 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-09-19 13:12:23 (GMT)
commit505f0ebf8839cc0a44d06b2cef96a20e5e693e74 (patch)
tree18108900184fe11ad7b036bf4bd2b06de5302b75 /Lib/packaging/compat.py
parentc1b7e7f8bbcae936a5e75277e9e86d9ebec5469f (diff)
downloadcpython-505f0ebf8839cc0a44d06b2cef96a20e5e693e74.zip
cpython-505f0ebf8839cc0a44d06b2cef96a20e5e693e74.tar.gz
cpython-505f0ebf8839cc0a44d06b2cef96a20e5e693e74.tar.bz2
Final bag of small changes coming from distutils2.
- minor cleanup in Metadata - trigger creation of the sysconfig._CONFIG_VARS dict - home_page is used over home-page: it’s not a compound word, it’s an escaped space Distutils2 is now synchronized with Packaging.
Diffstat (limited to 'Lib/packaging/compat.py')
-rw-r--r--Lib/packaging/compat.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/packaging/compat.py b/Lib/packaging/compat.py
index a82efd3..dcb58f5 100644
--- a/Lib/packaging/compat.py
+++ b/Lib/packaging/compat.py
@@ -1,8 +1,4 @@
-"""Compatibility helpers.
-
-This module provides classes, variables and imports which are used to
-support packaging across Python 2.x and 3.x.
-"""
+"""Compatibility helpers."""
from packaging import logger
@@ -10,8 +6,6 @@ from packaging import logger
# XXX Having two classes with the same name is not a good thing.
# XXX 2to3-related code should move from util to this module
-# TODO Move common code here: PY3 (bool indicating if we're on 3.x), any, etc.
-
try:
from packaging.util import Mixin2to3 as _Mixin2to3
_CONVERT = True