question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upload wheels to PyPI

See original GitHub issue

Wheels (.whl) for this package are currently missing from PyPI. Could wheels be uploaded for the current and future releases?

Read more about the advantages of wheels to understand why generating wheel distributions are important.

To create a wheel along with source distribution:

(venv) $ pip install --upgrade pip setuptools wheel
(venv) $ python setup.py sdist bdist_wheel

# See dist/*.whl

To upload wheels:

(venv) $ pip install twine
(venv) $ twine upload dist/*

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:15
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
bjmccommented, Sep 3, 2020

I’d like to chip and second this request, if it’s possible. We’re running into a problem deploying a Chalice application that depends on pyrsistent from a MacOS workstation. The issue is the same one described here and the suggestion is that if PyPI included prebuilt manylinux1 wheels, then we wouldn’t need to compile the dependency as part of the deploy process.

Thanks for all your work on this project!

1reaction
kgaughancommented, Oct 30, 2020

@tobgu While looking up another issue, I stumbled across this, which may be useful to you: https://github.com/joerick/cibuildwheel

It looks solid, the documentation is good, and it’s used by some prominent projects that should work as good examples to draw from.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building and Uploading to PyPi - The Sheer Joy of Packaging!
It is a build frontend that can takes arbitrary source trees or source distributions and builds wheels from them. Reference: http://pip.readthedocs.io/ ...
Read more >
How do you upload a single wheel file to a pypi server?
Yes! Just change to the directory where your wheel file is, then... pip install twine twine upload file_name.whl --repository-url ...
Read more >
How to Upload Your Python Package to PyPI and pip
Step 1: Ensure you have pip installed · Step 3: Package your Python code · Step 3: Create the source distribution of the...
Read more >
How to upload your python package to PyPi - Medium
This is easy. Simply upload your new code to github, create a new release, then adapt the setup.py file (new download_url — according...
Read more >
How to Publish an Open-Source Python Package to PyPI
PEP 427 describes how wheels should be packaged. ... upload to PyPI, typically in the wheel or the source distribution (sdist) format.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found