Skip to content

j0yu/rez-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Interpreter

CI Code style: black

rez package to install Python.

Here are some beginners instructions on how to use this repository.

Installation

  1. Install rez via python install.py method
  2. Clone/download this repository
  3. Ensure the folder printed by this command exists rez config local_packages_path
  4. Open terminal in (extracted) repository folder, run rez build --install

Python should now be installed as a rez package named python.

Usage

To run Python: rez env python-3 -- python3

It should also be possible to run it standalone, i.e.

  1. Figure out where python3 is installed to: PY3="$(rez env python-3 -- command -v python3)"
  2. Run it directly: "$PY3" -m tarfile --help

Maintenance

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

Releases

No releases published

Packages

No packages published