diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3a74e4a..856b369 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 diff --git a/setup.py b/setup.py index 73a1074..6c9179b 100644 --- a/setup.py +++ b/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