[nodes] aliceVision: remove '__version__' used by rez

This commit is contained in:
Yann Lanthony 2018-04-13 22:43:00 +02:00
parent 6a56e016e8
commit 768905d9e9
2 changed files with 1 additions and 3 deletions

View file

@ -357,7 +357,7 @@ class CommandLineNode(Node):
def buildCommandLine(self, chunk):
cmdPrefix = ''
# if rez available in env, we use it
if 'REZ_ENV' in os.environ:
if 'REZ_ENV' in os.environ and chunk.node.packageVersion:
# if the node package is already in the environment, we don't need a new dedicated rez environment
alreadyInEnv = os.environ.get('REZ_{}_VERSION'.format(chunk.node.packageName.upper()), "").startswith(chunk.node.packageVersion)
if not alreadyInEnv:

View file

@ -1,2 +0,0 @@
__version__ = 'develop'