Skip to content

Commit 22e1c9e

Browse files
author
stonebig
committed
tweak again wheel regular expression
1 parent e9761c7 commit 22e1c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winpython/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def extract_archive(fname, targetdir=None, verbose=False):
397397
# WHEELBIN_PATTERN defines what an acceptable binary wheel package is
398398
# "cp([0-9]*)" to replace per cp(34) for python3.4
399399
# "win32|win\_amd64" to replace per "win\_amd64" for 64bit
400-
WHEELBIN_PATTERN = r'([a-zA-Z0-9\-\_\.]*)-([0-9\.\_]*[a-z\+]*[0-9]?)-cp([0-9]*)\-none\-(win32|win\_amd64)\.whl'
400+
WHEELBIN_PATTERN = r'([a-zA-Z0-9\-\_\.]*)-([0-9\.\_]*[a-z0-9\+]*[0-9]?)-cp([0-9]*)\-none\-(win32|win\_amd64)\.whl'
401401

402402
def get_source_package_infos(fname):
403403
"""Return a tuple (name, version) of the Python source package"""

0 commit comments

Comments
 (0)