diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-20 15:59:27 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-20 15:59:27 -0400 |
commit | cecc74d077ef5c24804b4bc138df98980b517fef (patch) | |
tree | 4ea7d7bdbe6eb8bd8da97ffca3be7c8c692f69df /setuptools/package_index.py | |
parent | 110e541bd3a2df54492b8aaae6e041601653ca66 (diff) | |
parent | 01bb6e0e9217255cd835cefb8162463dac5d8e6d (diff) | |
download | external_python_setuptools-cecc74d077ef5c24804b4bc138df98980b517fef.tar.gz external_python_setuptools-cecc74d077ef5c24804b4bc138df98980b517fef.tar.bz2 external_python_setuptools-cecc74d077ef5c24804b4bc138df98980b517fef.zip |
Merge
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 51769cdf..cabf1039 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -138,7 +138,7 @@ def interpret_distro_name( # versions in distribution archive names (sdist and bdist). parts = basename.split('-') - if not py_version and any(p.match('py\d\.\d') for p in parts[2:]): + if not py_version and any(re.match('py\d\.\d$', p) for p in parts[2:]): # it is a bdist_dumb, not an sdist -- bail out return |