-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Remove setup.py #458
Remove setup.py #458
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,10 +59,10 @@ jobs: | |
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Install setuptools and wheel | ||
run: python -m pip install --upgrade --user setuptools wheel | ||
- name: Install build | ||
run: python -m pip install --user build | ||
- name: Build sdist and wheel | ||
run: python setup.py sdist bdist_wheel | ||
run: python -m build | ||
- name: Publish distribution PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd recommend pinning this and then using dependabot to update it every so often (it doesn't change that often). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using Dependabot is a great idea, I think there are more places where we could benefit from it. As with your other suggestion, I'd prefer to handle this in a separate PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Happy to make those in a followup if (since) you like the ideas. |
||
with: | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these lines can be replaced with:
GHA supports pipx without setup-python, and build supports pipx too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, thanks! I'd like to keep the scope of this PR restricted to removing setup.py, but feel free to open an issue.