JaimeFlorian27 / rez-venv

CLI Utility for creating Python virtual environments based on a Rez context.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rez-venv

a python CLI tool for creating virtual environments based on Rez contexts.

Installation

Linux / MacOs

$ git clone https://github.com/JaimeFlorian27/rez-venv.git
$ cd rez-venv
$ pip install .

Windows (not tested)

git clone https://github.com/JaimeFlorian27/rez-venv.git
cd rez-venv
python -m pip install .

Usage

usage: rez-venv [-h] [--venv-path [VENV_PATH]] [--system-site-packages [SYSTEM_SITE_PACKAGES]] [--deep-copy [DEEP_COPY]] [packages ...]

Create a virtual environment

positional arguments:
  packages              packages to use in the target environment

optional arguments:
  -h, --help            show this help message and exit
  --venv-path [VENV_PATH]
                        Path to the virtual environment
  --system-site-packages [SYSTEM_SITE_PACKAGES]
                        Give access to the system site-packages
  --deep-copy [DEEP_COPY]
                        create copies of the packages instead of symlinks

TODO

  • Create venv from requirements.txt / context.rtx
  • append rez python package to venv.
  • If good enough distribute on PyPI.

About

CLI Utility for creating Python virtual environments based on a Rez context.


Languages

Language:Python 100.0%