diff --git a/python/config.py b/python/config.py index a609f1da..ff74f4e9 100644 --- a/python/config.py +++ b/python/config.py @@ -36,6 +36,7 @@ NG_INSTALL_DIR_RES = "@NG_INSTALL_DIR_RES_DEFAULT@" NETGEN_PYTHON_RPATH_BIN = "@NETGEN_PYTHON_RPATH_BIN@" NETGEN_PYTHON_RPATH = "@NETGEN_PYTHON_RPATH@" +NETGEN_PYTHON_PACKAGE_NAME = "@NETGEN_PYTHON_PACKAGE_NAME@" NG_COMPILE_FLAGS = "@NG_COMPILE_FLAGS@" ngcore_compile_options = "@ngcore_compile_options@" diff --git a/setup.py b/setup.py index 1c9f6e08..af108b68 100644 --- a/setup.py +++ b/setup.py @@ -81,6 +81,7 @@ cmake_args += [ '-DBUILD_OCC=ON', '-DUSE_OCC=ON', '-DBUILD_FOR_CONDA=ON', + f'-DNETGEN_PYTHON_PACKAGE_NAME={name}', ] if 'PYDIR' in os.environ: