10000 fix for a unusual package name convention · Aikes/winpython@1ec9101 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ec9101

Browse files
author
stonebig
committed
fix for a unusual package name convention
1 parent 8080388 commit 1ec9101

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
@@ -463,7 +463,7 @@ def extract_archive(fname, targetdir=None, verbose=False):
463463
# . joblib-0.8.3_r1-py2.py3-none-any.whl,
464464
# . joblib-0.8.3-r1.tar.gz
465465

466-
SOURCE_PATTERN = r'([a-zA-Z0-9\-\_\.]*)-([0-9\.\_]*[a-z]*[0-9]?)(\.zip|\.tar\.gz|\-(py[2-7]*|py[2-7]*\.py[2-7]*)\-none\-any\.whl)'
466+
SOURCE_PATTERN = r'([a-zA-Z0-9\-\_\.]*)-([0-9\.\_]*[a-z]*[\-]?[0-9]*)(\.zip|\.tar\.gz|\-(py[2-7]*|py[2-7]*\.py[2-7]*)\-none\-any\.whl)'
467467

468468
# WHEELBIN_PATTERN defines what an acceptable binary wheel package is
469469
# "cp([0-9]*)" to replace per cp(34) for python3.4

0 commit comments

Comments
 (0)
0