diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 7d21ca4d..3740de49 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -87,8 +87,9 @@ jobs: if: runner.os == 'Windows' env: UDA_DIR: ${{github.workspace}}\install + EXTLIB_INSTALL_DIR: ${{github.workspace}}\extlib\install run: > - gcm python3 && + (gcm python3).Path && python3 -m venv ${{github.workspace}}/venv && ls ${{github.workspace}}/venv && ${{github.workspace}}/venv/Scripts/Activate.ps1 && diff --git a/source/wrappers/python/setup.py.in b/source/wrappers/python/setup.py.in index a274cf59..a3e42e5c 100644 --- a/source/wrappers/python/setup.py.in +++ b/source/wrappers/python/setup.py.in @@ -33,8 +33,8 @@ else: stalib_ext = 'a' dynlib_ext = '.dll' extra_compile_args = ['/-std:c++17'] - extlib = os.environ.get("EXTLIB_DIR") - extra_includes = [os.path.join(extlib, "install", "include")] + extlib = os.environ.get("EXTLIB_INSTALL_DIR") + extra_includes = [os.path.join(extlib, "include")] uda_lib_names = '@UDA_LIBS@'.split(';') if '@UDA_LIBS@' else []