Related
Reproducible
name = "test"
version = "0.0"
build_command = False
def commands():
global env
env["PATH"].append("{root}/{this/is/bad"))
rez build --install # ok
rez env test
07:55:01 ERROR PackageCommandError: Error in commands in package 'C:\\Users\\marcus\\packages\\test\\1.1\\package.py[]':
expected '}' before end of string
Where? If there's a line number provided, that line number is related the commands() function, rather than the actual Python module, due to how Rez doesn't actually import and maintain reference to the file, but does so "manually", throwing away that kind of information.
Related
Reproducible
Where? If there's a line number provided, that line number is related the
commands()function, rather than the actual Python module, due to how Rez doesn't actually import and maintain reference to the file, but does so "manually", throwing away that kind of information.