diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 467acc59..78500f6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [windows-latest] # ubuntu-latest, macos-latest, python-version: ["3.10", "3.11"] # -> Will re-enable support for py312 once pyg is released runs-on: ${{ matrix.os }} diff --git a/setup.py b/setup.py index c0aa9cb7..49585d78 100755 --- a/setup.py +++ b/setup.py @@ -32,14 +32,16 @@ if system == "Darwin": package_compile_args += ["-mmacosx-version-min=10.15"] elif system == "Windows": - path_separator = "\\" - lib_folder_name = "Lib" + #path_separator = "\\" + #lib_folder_name = "Lib" + pass if system == "Darwin" or system == "Linux": package_compile_args += ["-Wmaybe-uninitialized", "-Wuninitialized"] # Extracting paths to torch and rdkit dependencies torch_dir = torch.__path__[0] +print(rdkit.__path__[0].split(path_separator), '***') rdkit_lib_index = rdkit.__path__[0].split(path_separator).index(lib_folder_name) # breaks on windows rdkit_prefix = "/".join(rdkit.__path__[0].split(path_separator)[:rdkit_lib_index]) @@ -47,11 +49,6 @@ if system == "Windows": rdkit_prefix += "/Library" -torch_dir = torch.__path__[0] -print(rdkit.__path__[0].split(path_separator), "***") -rdkit_lib_index = rdkit.__path__[0].split("/").index("lib") # breaks on windows -rdkit_prefix = "/".join(rdkit.__path__[0].split("/")[:rdkit_lib_index]) - ext_modules = [ Pybind11Extension( "graphium_cpp",