diff options
author | Moriyoshi Koizumi <mozo@mozo.jp> | 2017-02-13 01:44:17 +0900 |
---|---|---|
committer | Moriyoshi Koizumi <mozo@mozo.jp> | 2017-02-13 04:45:01 +0900 |
commit | f1ca29cc9332a1bb59e250aa280ddc5239b5457e (patch) | |
tree | 7dedf13e7cd46e489696b3692e9396919acce292 /setuptools/package_index.py | |
parent | 5f235ac251a88a1704166f2e2c12903bafad8adb (diff) | |
download | external_python_setuptools-f1ca29cc9332a1bb59e250aa280ddc5239b5457e.tar.gz external_python_setuptools-f1ca29cc9332a1bb59e250aa280ddc5239b5457e.tar.bz2 external_python_setuptools-f1ca29cc9332a1bb59e250aa280ddc5239b5457e.zip |
An epoch starts with a number followed by '!'.
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-x | setuptools/package_index.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index b19893e8..3544dd54 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -30,7 +30,7 @@ from fnmatch import translate from setuptools.py26compat import strip_fragment from setuptools.py27compat import get_all_headers -EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.+]+)$') +EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.+!]+)$') HREF = re.compile("""href\\s*=\\s*['"]?([^'"> ]+)""", re.I) # this is here to fix emacs' cruddy broken syntax highlighting PYPI_MD5 = re.compile( |