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

Makes download-python.sh idempotent and easy to upgrade versions #90

Merged
merged 2 commits into from Sep 10, 2021

Conversation

mnckapilan
Copy link
Contributor

These are changes made purely for developer convenience – usability improvements are often opinionated – so do feel free to disregard and close PR if you disagree with the changes.

Improvements made:

  1. Running ./download-python.sh if standalone python folder already exists will do nothing.
  2. Script removes tarball after uncompressing to save space (and prevent future clobbering)
  3. Easy to change standalone python release used using variables

The changes should not affect the GitHub Actions workflows – and this PR build should help us test that.

PS: I also thought about adding this script as part of the npm scripts to facilitate cleaner workflows, but that's a more controversial choice so I'll leave that up to you

@simonw
Copy link
Owner

simonw commented Sep 10, 2021

This is great, thank you!

@simonw simonw merged commit 35b1ad8 into simonw:main Sep 10, 2021
@mnckapilan mnckapilan deleted the download-python-improvements branch September 10, 2021 22:17
simonw added a commit that referenced this pull request Sep 13, 2021
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.

None yet

2 participants