-
Notifications
You must be signed in to change notification settings - Fork 4
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
build bdist_wheel, use twine for upload #21
Conversation
@tfoote Thanks for the review. Looking for a couple more for this low-level change... |
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 change looks good to me.
Though I have low experience with pip uploads
scripts/ros_release_python
Outdated
print('# ' + ' '.join(upload_cmd)) | ||
if upload: | ||
subprocess.check_call(upload_cmd) | ||
|
||
scp_cmd = ['scp', tarball, '[email protected]:/home/ros/data/download.ros.org/downloads/%s' % name] |
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.
We might want to drop this step of uploading to a custom location. It's now strongly recommended to host everything using the python infrastructure for security. This would be one less thing to automate and maintain.
If we do this we should remove the url from the setup.py files of the couple of packages that reference it.
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.
Sounds good to me. If others agree I can create PRs for them.
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.
Based on the offline meeting I removed the upload to downloads.ros.org in ed8efb3.
Following the latest packaging guidelines this patch:
bdist_wheel
(beside thesdist
)twine
Users of this tool need to install
twine
for future releases.