mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Fix path format in setup.py
This commit is contained in:
parent
6992a63cf8
commit
e308c1665e
4
setup.py
4
setup.py
@ -1,6 +1,7 @@
|
||||
import glob
|
||||
import os
|
||||
import sys
|
||||
import pathlib
|
||||
|
||||
from skbuild import setup
|
||||
import skbuild.cmaker
|
||||
@ -100,7 +101,8 @@ cmake_args += [
|
||||
'-DBUILD_STUB_FILES=OFF',
|
||||
]
|
||||
|
||||
cmake_args += [f'-DCMAKE_PREFIX_PATH={sys.prefix}']
|
||||
pyprefix = pathlib.Path(sys.prefix).as_posix()
|
||||
cmake_args += [f'-DCMAKE_PREFIX_PATH={pyprefix}']
|
||||
|
||||
setup(
|
||||
name=name,
|
||||
|
Loading…
Reference in New Issue
Block a user