Skip to content

Instantly share code, notes, and snippets.

@temoto
Created March 23, 2022 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save temoto/20022b6fec770da2ced8e095040e2ac3 to your computer and use it in GitHub Desktop.
Save temoto/20022b6fec770da2ced8e095040e2ac3 to your computer and use it in GitHub Desktop.
(python management) install shiv, poetry, pdm into /usr/local/bin ; no need to create virtualenvs for tools anymore
python3 -m venv /usr/local/shiv-venv && /usr/local/shiv-venv/bin/pip install shiv && /usr/local/shiv-venv/bin/shiv -c shiv -o /usr/local/bin/shiv shiv
/usr/local/bin/shiv -c poetry -o /usr/local/bin/poetry poetry
/usr/local/bin/shiv -c pdm -o /usr/local/bin/pdm pdm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment