rez-pip¶
rez-pip is a rez command-line plugin that you can use to make package from the Python Package Index and other indexes available to your rez package ecosystem.
Features¶
Simpler to use thanks to the vendoring of pip.
Does not support installing packages for Python 2.
Only creates per python version variants when absolutely necessary. For example, it won’t create per python version variants when installing a package that has console scripts.
Better output logs.
Implemented as an out-of-tree plugin, which means faster development cycle and more frequent releases.
Plugin system that allows for easy extensibility (experimental).
Built as a rez plugin, available as
rez pip2.Maintained by the rez maintainers.
Prerequisites¶
A rez package named
pythonthat contains a CPython installation. PyPy and other interpreters are not yet supported.A working Python 3 based rez install.
Installation¶
rez-pip can be installed by using pip. We highly recommend that you install
it into your rez’s virtual environment (the virtualenv that is
automatically created by the install.py script).
$ source <rez>/bin/activate
$ python -m pip install rez-pip
C:> source <rez>\Scripts\activate
C:> python -m pip install rez-pip
Note
Pip is bundled with rez-pip, so no need to install pip as a rez package of have pip available inside your python rez packages.
See the transition documentation section for more information.
Note
If you don’t want or can’t have a full rez install, you can also install rez-pip into its own virtualenv. Note that this should be a last resort option.