build(build.py): build function subprocess.run arg: cwd =
This commit is contained in:
parent
9a170f93d3
commit
f7103430d6
2
build.py
2
build.py
|
|
@ -1,7 +1,7 @@
|
||||||
import warnings
|
import warnings
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
res = subprocess.run(["python3", "setup.py", "build_ext", "--inplace"])
|
res = subprocess.run(["python3", "setup.py", "build_ext", "--inplace"], cwd="./tdcgal")
|
||||||
if res.returncode != 0:
|
if res.returncode != 0:
|
||||||
warnings.warn(res.stderr.decode())
|
warnings.warn(res.stderr.decode())
|
||||||
warnings.warn("Error building toydesigner-cgal")
|
warnings.warn("Error building toydesigner-cgal")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue