Skip to content

Commit

Permalink
Specify python executable in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Jan 7, 2025
1 parent ba2e3b4 commit db236c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ephem
pytz
pyaml
sqlalchemy
pysqlite3
tqdm
cmake
qpoint
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ def build_cmake(self):
# Fake install directory passed to spt3g cmake.
install_spt3g_fake = os.path.join(temp_build, "spt3g_install")

dlist3g = list()
dlist3g = [
f"-DPython_EXECUTABLE={sys.executable}",
]
if "BOOST_ROOT" in os.environ:
dlist3g.append(f"-DBOOST_ROOT={os.environ['BOOST_ROOT']}")
if "FLAC_ROOT" in os.environ:
Expand Down

0 comments on commit db236c0

Please sign in to comment.