Commit a631a070 authored by Jason R. Coombs's avatar Jason R. Coombs

Match Python 3 for bdist_dumb.

parent e1c326e1
......@@ -140,8 +140,9 @@ def interpret_distro_name(
parts = basename.split('-')
if not py_version:
for i,p in enumerate(parts[2:]):
if len(p)==5 and p.startswith('py2.'):
return # It's a bdist_dumb, not an sdist -- bail out
if p.match('py\d\.\d'):
# It's a bdist_dumb, not an sdist -- bail out
return
for p in range(1,len(parts)+1):
yield Distribution(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment