j0yu / rez-python

rez package for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

rez package for Python

License:MIT License


Languages

Language:Shell 46.8%Language:Python 44.0%Language:Dockerfile 9.2%