mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
fix setup.py
This commit is contained in:
parent
17e845df29
commit
56c86dfb49
6
setup.py
6
setup.py
@ -49,6 +49,8 @@ if 'NETGEN_ARCH' in os.environ:
|
||||
if 'NETGEN_CCACHE' in os.environ:
|
||||
cmake_args += [f'-DUSE_CCACHE=ON']
|
||||
|
||||
packages = ['netgen', 'pyngcore']
|
||||
|
||||
if 'darwin' in sys.platform:
|
||||
cmake_args += [
|
||||
f'-DNG_INSTALL_DIR_LIB=netgen',
|
||||
@ -56,7 +58,6 @@ if 'darwin' in sys.platform:
|
||||
f'-DNG_INSTALL_DIR_CMAKE=lib/cmake',
|
||||
f'-DNG_INSTALL_DIR_BIN=bin',
|
||||
]
|
||||
packages = ['netgen']
|
||||
elif 'win' in sys.platform:
|
||||
cmake_args += [
|
||||
'-A Win64',
|
||||
@ -64,7 +65,6 @@ elif 'win' in sys.platform:
|
||||
f'-DNG_INSTALL_DIR_PYTHON=.',
|
||||
f'-DNG_INSTALL_DIR_LIB=Library/lib',
|
||||
]
|
||||
packages = ['netgen']
|
||||
elif 'linux' in sys.platform:
|
||||
name_dir = name.replace('-','_')
|
||||
cmake_args += [
|
||||
@ -73,8 +73,6 @@ elif 'linux' in sys.platform:
|
||||
]
|
||||
packages = []
|
||||
|
||||
packages.append("pyngcore")
|
||||
|
||||
cmake_args += [
|
||||
'-DUSE_SUPERBUILD:BOOL=ON',
|
||||
'-DUSE_CCACHE:BOOL=ON',
|
||||
|
Loading…
Reference in New Issue
Block a user