mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-12 16:17:29 +05:00
set python3 root in setup.py
This commit is contained in:
parent
a94a940fe3
commit
56d1dbb2b6
2
setup.py
2
setup.py
@ -102,7 +102,7 @@ cmake_args += [
|
|||||||
]
|
]
|
||||||
|
|
||||||
pyprefix = pathlib.Path(sys.prefix).as_posix()
|
pyprefix = pathlib.Path(sys.prefix).as_posix()
|
||||||
cmake_args += [f'-DCMAKE_PREFIX_PATH={pyprefix}']
|
cmake_args += [f'-DCMAKE_PREFIX_PATH={pyprefix}', f'-DPython3_ROOT_DIR={pyprefix}']
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=name,
|
name=name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user