mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Attempt to hint to cmake what python install to use correctly
Should fix my linux building issue?
This commit is contained in:
parent
593a0c3f46
commit
b954ac6ccc
3
.github/workflows/python-package.yml
vendored
3
.github/workflows/python-package.yml
vendored
@ -49,8 +49,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
#os: [ macos-latest, windows-latest, ubuntu-latest ]
|
||||
os: [ macos-11, windows-latest ]
|
||||
os: [ macos-11, windows-latest, ubuntu-latest ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
2
setup.py
2
setup.py
@ -40,7 +40,7 @@ class CMakeBuild(build_ext):
|
||||
cmake_args = [
|
||||
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={}".format(extdir),
|
||||
"-Dpybind11_DIR={}".format(pybind11.get_cmake_dir()),
|
||||
"-DPython_EXECUTABLE={}".format(sys.executable),
|
||||
"-DPython_ROOT_DIR={}".format(os.path.dirname(sys.executable)),
|
||||
"-DQUICKTEX_VERSION_INFO={}".format(version),
|
||||
"-DCMAKE_BUILD_TYPE={}".format(cfg), # not used on MSVC, but no harm
|
||||
# clear cached make program binary, see https://github.com/pypa/setuptools/issues/2912
|
||||
|
Loading…
Reference in New Issue
Block a user