Skip to content

Commit

Permalink
Fix discovery of python
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozaq committed Sep 14, 2023
1 parent 98e1759 commit a61d925
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}{os.sep}",
f"-DCMAKE_BUILD_TYPE={cfg}", # not used on MSVC, but no harm
"-DCMAKE_UNITY_BUILD=ON",
f"-DPython_EXECUTABLE={sys.executable}",
]

# Pile all .so in one place and use $ORIGIN as RPATH
Expand Down

0 comments on commit a61d925

Please sign in to comment.