mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
fix findpython
This commit is contained in:
parent
48e118042d
commit
d77665a8a9
5
setup.py
5
setup.py
@ -40,12 +40,9 @@ class CMakeBuild(build_ext):
|
||||
cmake_generator = os.environ.get("CMAKE_GENERATOR", "")
|
||||
|
||||
# Set Python_EXECUTABLE instead if you use PYBIND11_FINDPYTHON
|
||||
# EXAMPLE_VERSION_INFO shows you how to pass a value into the C++ code
|
||||
# from Python.
|
||||
cmake_args = [
|
||||
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={}".format(extdir),
|
||||
"-DPYTHON_EXECUTABLE={}".format(sys.executable),
|
||||
"-DEXAMPLE_VERSION_INFO={}".format(self.distribution.get_version()),
|
||||
"-DPython_EXECUTABLE={}".format(sys.executable),
|
||||
"-DCMAKE_BUILD_TYPE={}".format(cfg), # not used on MSVC, but no harm
|
||||
]
|
||||
build_args = []
|
||||
|
Loading…
Reference in New Issue
Block a user