aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 9ed9a8a8..a4f81882 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -23,7 +23,7 @@ def parse_bdist_wininst(name):
if lower.endswith('.exe'):
if lower.endswith('.win32.exe'):
base = name[:-10]
- elif lower[-16:].startswith('.win32-py'):
+ elif lower.startswith('.win32-py',-16):
py_ver = name[-7:-4]
base = name[:-16]