Commit Graph
6 Commits
Author SHA1 Message Date
Maxim Shulga 7ac03bbc52 update-python-env: add --local flag for local virtualenv
- Add shebang and proper quoting for variable checks ($1 → "$1")
- Fix version detection to use exact match (grep ^VERSION$ not substring)
- Implement --local flag to create project-local .venv instead of pyenv-virtualenv
- Automatically upgrades pip/setuptools/wheel and installs requirements.txt
2026-06-23 20:38:20 -07:00
snegov 3023edbfe3 update-python-env: fix empty .python-version situation
Even if .python-version is empty, virtualenv with desired name could be
created somewhere in the system. So we need to delete it in any case.
If there is no such virtualenv, we are ignoring errors.
2024-12-22 14:49:42 -08:00
snegov a6ca99d58d update-python-env: handle empty .python-version 2024-12-20 16:23:56 -08:00
snegov 8024ecb278 update-python-env: add exits on fails 2024-10-13 11:46:46 -07:00
snegov a3448c14c8 Remove dev option from update-python-env 2024-10-13 11:33:48 -07:00
snegov cd222daa98 Add update-python-env script 2024-10-13 11:32:53 -07:00