forked from M-Labs/artiq
lit: unbreak on non-conda.
This commit is contained in:
parent
9db2be2b03
commit
b0e7fddc32
|
@ -19,7 +19,8 @@ else:
|
||||||
python = sys.executable
|
python = sys.executable
|
||||||
config.substitutions.append( ("%python", python) )
|
config.substitutions.append( ("%python", python) )
|
||||||
|
|
||||||
config.environment["PYTHONPATH"] = os.getenv("PYTHONPATH")
|
if os.getenv("PYTHONPATH"):
|
||||||
|
config.environment["PYTHONPATH"] = os.getenv("PYTHONPATH")
|
||||||
|
|
||||||
not_ = "{} {}".format(sys.executable, os.path.join(root, "not.py"))
|
not_ = "{} {}".format(sys.executable, os.path.join(root, "not.py"))
|
||||||
config.substitutions.append( ("%not", not_) )
|
config.substitutions.append( ("%not", not_) )
|
||||||
|
|
Loading…
Reference in New Issue