Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8569e2a

Browse files
authored
Merge pull request #350 from stonebig/master
fix wppm bug with "+mkl"
2 parents 96c378d + 1c44183 commit 8569e2a

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
@@ -483,7 +483,7 @@ def extract_archive(fname, targetdir=None, verbose=False):
483483

484484
def get_source_package_infos(fname):
485485
"""Return a tuple (name, version) of the Python source package"""
486-
match = re.match(SOURCE_PATTERN, osp.basename(fname))
486+
match = re.match(SOURCE_PATTERN, osp.basename(fname).replace("+mkl-","-"))
487487
if match is not None:
488488
return match.groups()[:2]
489489

0 commit comments

Comments
 (0)