Skip to content
Snippets Groups Projects
Commit 8a1f31e9 authored by AlQuemist's avatar AlQuemist
Browse files

MakePythonWheel.cmake: use the new Python-API files

parent 2cc9c136
No related branches found
No related tags found
1 merge request!2274PyCore tests; rm old Python API
...@@ -97,7 +97,7 @@ function(make_python_wheel) ...@@ -97,7 +97,7 @@ function(make_python_wheel)
# store init files for the Python package # store init files for the Python package
set(_dst ${BA_PY_INIT_OUTPUT_DIR}/) set(_dst ${BA_PY_INIT_OUTPUT_DIR}/)
set(_dst_lib ${BA_PY_LIBRARY_OUTPUT_DIR}/) set(_dst_lib ${BA_PY_LIBRARY_OUTPUT_DIR}/)
file(GLOB _ba_py_files ${CMAKE_SOURCE_DIR}/Wrap/Python/*.py) file(GLOB _ba_py_files ${BA_PY_PACKAGE_ROOT_DIR}/src/bornagain/*.py)
file(GLOB _init_files_lib ${BA_PY_PACKAGE_ROOT_DIR}/src/bornagain/lib/*.py) file(GLOB _init_files_lib ${BA_PY_PACKAGE_ROOT_DIR}/src/bornagain/lib/*.py)
configure_file(${BA_PY_PACKAGE_ROOT_DIR}/src/bornagain/__init__.py.in configure_file(${BA_PY_PACKAGE_ROOT_DIR}/src/bornagain/__init__.py.in
${_dst}/__init__.py @ONLY) ${_dst}/__init__.py @ONLY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment