-
Notifications
You must be signed in to change notification settings - Fork 80
-
Notifications
You must be signed in to change notification settings - Fork 80
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 wheels to PyPI #108
Comments
@myint I'd like to automate the integration with PyPI, but I wanted to check with you what's your preferred approach. Do you want to do the releases yourself? I could reuse a workflow I have in another project that I maintain, you wouldn't need to give me permission to release the package to PyPI, but only add a secret to this repo so I can reference it from the GH workflow. Are you ok with that? Or would you rather keep releasing it manually? |
I've just gone ahead and given you PyPI permissions. |
@myint thank you! Unfortunately I don't have permissions to add a secret to the repo, so automation won't be an option for now, but I can definitely push it manually as needed :) |
Try now. |
@myint that should work now, thank you very much! |
Confirmed it works here: https://github.com/PyCQA/autoflake/runs/8053824994?check_suite_focus=true Next release should go out automatically \o/ |
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/*
The text was updated successfully, but these errors were encountered: