Skip to content

Commit de3dcab

Browse files
author
stonebig
committed
better management of wheel names (take3)
1 parent 80a35c6 commit de3dcab

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

winpython/data/packages.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ description=Python interface to ODBC
124124
[cffi]
125125
description=Foreign Function Interface for Python calling C code.
126126
127+
[chainer]
128+
description=A flexible framework of neural networks
129+
127130
[chardet]
128131
description=Universal encoding detector for Python 2 and 3
129132
@@ -263,6 +266,9 @@ description=A python package that provides useful locks.
263266
[fastparquet]
264267
description=Python support for Parquet file format
265268
269+
[filelock]
270+
description=A platform independent file lock.
271+
266272
[flask]
267273
description=A microframework based on Werkzeug, Jinja2 and good intentions
268274

winpython/wppm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ def extract_infos(self):
145145
# PyQt5-5.7.1-5.7.1-cp34.cp35.cp36-none-win_amd64.whl
146146
bname2 = bname[:-4].split("-")
147147
self.name = bname2[0]
148-
self.version, self.pywheel, abi, arch = bname2[-4:]
148+
self.version = '-'.join(list(bname2[1:-3]))
149+
self.pywheel, abi, arch = bname2[-3:]
149150
self.pyversion = None # Let's ignore this self.pywheel
150151
# wheel arch is 'win32' or 'win_amd64'
151152
self.architecture = 32 if arch == 'win32' else 64

0 commit comments

Comments
 (0)