Skip to content

Latest commit

 

History

History
77 lines (47 loc) · 1.78 KB

README.md

File metadata and controls

77 lines (47 loc) · 1.78 KB

Package localisation for Rez.

See also


Usage

localz8

Prerequisities

  • rez-2.29+
  • python-2.7,<4

Used as a Rez package.

$ git clone https://github.com/mottosso/rez-localz.git
$ cd rez-localz
$ rez build --install

Once installed, you can start localising packages like this.

$ rez env localz -- localise Qt.py

This will localise the Qt.py package onto your config.local_packages_path.

Multiple requests

Localise multiple packages at once, that all resolve to one another making sure they work together.

$ rez env localz -- localise maya-2018 arnold flex
Full context

Localise an entire context with the --full flag.

$ rez env localz -- localise maya alita gitlab --full
Limited by requirements

Localise one package resolved with another.

$ rez env localz -- localise maya --requires alita

In this case, if alita carries a requirement for maya-2018 then that's the version being localised, despite maya-2017 and maya-2019 also being available.

Specific localisation

The syntax to localise is the same as for rez env, including complex version queries.

$ rez env localz -- localise "maya-2015,<2020"

FAQ

What about rez cp?

localise uses rez cp under the hood and can be considered high-level version of it, taking more variables into account like context and other packages.