Skip to content

Commit

Permalink
Updated PWD to CURDIR in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjameshandley committed Feb 16, 2023
1 parent 6cf0fc4 commit 3084a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def run(self):
env["DEBUG"] = "1"

BASE_PATH = os.path.dirname(os.path.abspath(__file__))
env["PWD"] = BASE_PATH
env["CURDIR"] = BASE_PATH
env.update({k : os.environ[k] for k in ["CC", "CXX", "FC"] if k in os.environ})
subprocess.check_call(["make", "-e", "libchord.so"], env=env, cwd=BASE_PATH)
if not os.path.isdir("pypolychord/lib/"):
Expand Down

0 comments on commit 3084a81

Please sign in to comment.