mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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 glob
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import pathlib
|
||||||
|
|
||||||
from skbuild import setup
|
from skbuild import setup
|
||||||
import skbuild.cmaker
|
import skbuild.cmaker
|
||||||
@ -100,7 +101,8 @@ cmake_args += [
|
|||||||
'-DBUILD_STUB_FILES=OFF',
|
'-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(
|
setup(
|
||||||
name=name,
|
name=name,
|
||||||
|
Loading…
Reference in New Issue
Block a user