Skip to content
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

Upload universal wheel to PyPi #385

Closed
bilke opened this issue Jul 14, 2021 · 2 comments
Closed

Upload universal wheel to PyPi #385

bilke opened this issue Jul 14, 2021 · 2 comments

Comments

@bilke
Copy link
Contributor

bilke commented Jul 14, 2021

For releases can you please create and upload a universal wheel in addition to the source distribution? You can create them with:

python setup.py bdist_wheel --universal

I am trying to run hpccm in JupyterLite and installation in this environment requires a wheel:

import micropip
await micropip.install("hpccm")
...
ValueError: Couldn't find a pure Python 3 wheel for 'hpccm'
@samcmill
Copy link
Collaborator

@bilke I uploaded a wheel for 21.6 (https://pypi.org/project/hpccm/21.6.0/#files). Please let me know if that works for you and I'll make it a standard part of releases going forward.

@bilke
Copy link
Contributor Author

bilke commented Jul 27, 2021

@samcmill Thanks a lot! Yes it works:

import micropip
await micropip.install('six')
await micropip.install('archspec')
await micropip.install('hpccm')
import hpccm

Stage0 = hpccm.Stage()
Stage0 += hpccm.building_blocks.gnu()
Stage0 += hpccm.building_blocks.nvhpc(eula=True)
print(Stage0)
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants