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

build bdist_wheel, use twine for upload #21

Merged
merged 2 commits into from
May 8, 2018
Merged

Conversation

dirk-thomas
Copy link
Member

Following the latest packaging guidelines this patch:

  • builds a bdist_wheel (beside the sdist)
  • uploads both artifacts using twine

Users of this tool need to install twine for future releases.

@dirk-thomas dirk-thomas self-assigned this May 7, 2018
@dirk-thomas
Copy link
Member Author

@tfoote Thanks for the review.

Looking for a couple more for this low-level change...

Copy link
Contributor

@mikaelarguedas mikaelarguedas left a 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

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]
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member Author

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.

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 this pull request may close these issues.

3 participants