summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/pypi/simple.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/pypi/simple.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/pypi/simple.py')
-rw-r--r--Lib/packaging/pypi/simple.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/packaging/pypi/simple.py b/Lib/packaging/pypi/simple.py
index 76aad02..9faabaa 100644
--- a/Lib/packaging/pypi/simple.py
+++ b/Lib/packaging/pypi/simple.py
@@ -23,12 +23,11 @@ from packaging.version import get_version_predicate
from packaging import __version__ as packaging_version
from packaging.pypi.base import BaseClient
from packaging.pypi.dist import (ReleasesList, EXTENSIONS,
- get_infos_from_url, MD5_HASH)
+ get_infos_from_url, MD5_HASH)
from packaging.pypi.errors import (PackagingPyPIError, DownloadError,
- UnableToDownload, CantParseArchiveName,
- ReleaseNotFound, ProjectNotFound)
+ UnableToDownload, CantParseArchiveName,
+ ReleaseNotFound, ProjectNotFound)
from packaging.pypi.mirrors import get_mirrors
-from packaging.metadata import Metadata
__all__ = ['Crawler', 'DEFAULT_SIMPLE_INDEX_URL']