option to inject DeveloperPackage into context resolve

52 views
Skip to first unread message

Serhii Nazarenko (EKTOS)

unread,
Jun 23, 2021, 3:21:54 AM6/23/21
to rez-config
Hello!

We need to have DeveloperPackage in "rez env" as normal package. 
I made small changes in rez.env module to add option "--this".
This option starts rez shell in folder with package.py with all environment variables from "requires,build_ requires" which are defined in that "package.py". 
That option works similarly as "rez env foo" but without  previously "rez build foo", in other words "foo" package exists only as package.py file in some folder. There is no such package in "config.packages_path".

In particular we have to have all environment with "requires,build_ requires" and "commands". 
How can I add "package.py commands" from DeveloperPackage in to "rez env" ?

PS: I have to say that our company not from VFX industry but from Embeded Dev. And I think that REZ completely suits as build system for us.

Serhii Nazarenko (EKTOS)

unread,
Jul 16, 2021, 1:32:24 AM7/16/21
to rez-config
Done :)
Reply all
Reply to author
Forward
0 new messages