mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
lit: unbreak on non-conda.
This commit is contained in:
parent
9db2be2b03
commit
b0e7fddc32
@ -19,7 +19,8 @@ else:
|
||||
python = sys.executable
|
||||
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"))
|
||||
config.substitutions.append( ("%not", not_) )
|
||||
|
Loading…
Reference in New Issue
Block a user