diff options
Diffstat (limited to 'setuptools')
-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 |