-
Notifications
You must be signed in to change notification settings - Fork 199
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
Update setuptools #162
Update setuptools #162
Conversation
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.
Code makes sense although I couldn't get it to run.
pyproject.toml
Outdated
[project.urls] | ||
"Homepage" = "https://github.com/tumblr/pytumblr" | ||
"Bug Tracker" = "https://github.com/tumblr/pytumblr/issues" | ||
"Download" = "https://github.com/tumblr/pytumblr/archive/0.1.1.tar.gz" |
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.
"Download" = "https://github.com/tumblr/pytumblr/archive/0.1.1.tar.gz" |
If we don't include this line we won't have to update it every time. What do you think?
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.
Nice catch. I changed it to link to the Releases page.
@@ -17,7 +17,7 @@ Install from source: | |||
|
|||
$ git clone https://github.com/tumblr/pytumblr.git | |||
$ cd pytumblr | |||
$ python setup.py install | |||
$ python -m build |
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.
Do we need to update .github/workflows/ci.yaml
as well?
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.
The PR build wasn't working for you because the testing steps didn't include installing build
. I updated the instructions and ci.yaml
to include installing and using build
.
See: #157
What
This PR
setuptools
build command instead of the deprecatedsetup.py
scriptTesting
dist
andbuild
folders if they exist in the root of the repositorypython -m pip install --upgrade pip wheel build
python -m build
python interactive_console.py
client
methods from the README