Skip to content

better management of wheel names (take3) #469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
better management of wheel names (take3)
  • Loading branch information
stonebig committed Jan 22, 2017
commit de3dcab65898461f74fbe2d8f239bae5081f47e9
6 changes: 6 additions & 0 deletions winpython/data/packages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ description=Python interface to ODBC
[cffi]
description=Foreign Function Interface for Python calling C code.

[chainer]
description=A flexible framework of neural networks

[chardet]
description=Universal encoding detector for Python 2 and 3

Expand Down Expand Up @@ -263,6 +266,9 @@ description=A python package that provides useful locks.
[fastparquet]
description=Python support for Parquet file format

[filelock]
description=A platform independent file lock.

[flask]
description=A microframework based on Werkzeug, Jinja2 and good intentions

Expand Down
3 changes: 2 additions & 1 deletion winpython/wppm.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def extract_infos(self):
# PyQt5-5.7.1-5.7.1-cp34.cp35.cp36-none-win_amd64.whl
bname2 = bname[:-4].split("-")
self.name = bname2[0]
self.version, self.pywheel, abi, arch = bname2[-4:]
self.version = '-'.join(list(bname2[1:-3]))
self.pywheel, abi, arch = bname2[-3:]
self.pyversion = None # Let's ignore this self.pywheel
# wheel arch is 'win32' or 'win_amd64'
self.architecture = 32 if arch == 'win32' else 64
Expand Down