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 wheels to PyPI #108

Closed
johnthagen opened this issue May 2, 2022 · 6 comments · Fixed by #125
Closed

Upload wheels to PyPI #108

johnthagen opened this issue May 2, 2022 · 6 comments · Fixed by #125

Comments

@johnthagen
Copy link

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/*
@fsouza
Copy link
Collaborator

fsouza commented Aug 24, 2022

@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?

@myint
Copy link
Member

myint commented Aug 27, 2022

I've just gone ahead and given you PyPI permissions.

@fsouza
Copy link
Collaborator

fsouza commented Aug 27, 2022

@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 :)

@myint
Copy link
Member

myint commented Aug 27, 2022

Try now.

@fsouza
Copy link
Collaborator

fsouza commented Aug 27, 2022

@myint that should work now, thank you very much!

@fsouza
Copy link
Collaborator

fsouza commented Aug 27, 2022

Confirmed it works here: https://github.com/PyCQA/autoflake/runs/8053824994?check_suite_focus=true

Next release should go out automatically \o/

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

Successfully merging a pull request may close this issue.

3 participants