diff --git a/python/config/config_template.py b/python/config/config_template.py index 73c6df86..153336b6 100644 --- a/python/config/config_template.py +++ b/python/config/config_template.py @@ -60,12 +60,9 @@ version = NETGEN_VERSION_GIT def get_cmake_dir(): import os.path as p - d_python = p.dirname(p.dirname(__file__)) + d_python = p.dirname(p.dirname(p.dirname(__file__))) py_to_cmake = p.relpath( NG_INSTALL_DIR_CMAKE, NG_INSTALL_DIR_PYTHON ) return p.normpath(p.join(d_python,py_to_cmake)) - -if __name__ == '__main__': - print(get_cmake_dir(), end='')