rez package to install Python.
Here are some beginners instructions on how to use this repository.
- Install rez via
python install.pymethod - Clone/download this repository
- Ensure the folder printed by this command exists
rez config local_packages_path - Open terminal in (extracted) repository folder, run
rez build --install
Python should now be installed as a rez package named python.
To run Python: rez env python-3 -- python3
It should also be possible to run it standalone, i.e.
- Figure out where
python3is installed to:PY3="$(rez env python-3 -- command -v python3)" - Run it directly:
"$PY3" -m tarfile --help
Whenever new official release come out, update the __version__
in package.py then re-run rez build --install.
If you decide to make another install, e.g. new commands() environment
setup, you can instead just update the +local. version number to indicate
new releases/versions of your own. See PEP 540 local version segments.
Also, you can rename +local. to something more relevant to you
e.g. +mystudio. or +mygithubname.
Want more rez packages? Checkout my GitHub repositories