forked from M-Labs/artiq
1
0
Fork 0

lit: unbreak on non-conda.

This commit is contained in:
whitequark 2016-02-22 13:16:43 +00:00
parent 9db2be2b03
commit b0e7fddc32
1 changed files with 2 additions and 1 deletions

View File

@ -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_) )