Skip to content
Snippets Groups Projects
Commit 1c199e7b authored by BIOPZ-Haas Juergen's avatar BIOPZ-Haas Juergen
Browse files

Merge branch 'develop' of bc2-dng01.bc2.unibas.ch:/opt/git/GIT_DATA/ost into develop

parents 45bbb5a8 d59a22a9
No related branches found
No related tags found
No related merge requests found
...@@ -261,7 +261,7 @@ The `mod/pymod` directory must obviously contain a `CMakeLists.txt` file: ...@@ -261,7 +261,7 @@ The `mod/pymod` directory must obviously contain a `CMakeLists.txt` file:
pymod(NAME mod OUTPUT_DIR ost/mod pymod(NAME mod OUTPUT_DIR ost/mod
CPP ${OST_MOD_PYMOD_SOURCES} PY __init__.py) CPP ${OST_MOD_PYMOD_SOURCES} PY __init__.py)
The directory should also contain an `__init.py__` file with the The directory should also contain an `__init__.py` file with the
following content: following content:
.. code-block:: python .. code-block:: python
...@@ -269,7 +269,7 @@ following content: ...@@ -269,7 +269,7 @@ following content:
from _mod import * from _mod import *
In case one wants to implement Python-only functionality for the new module, any In case one wants to implement Python-only functionality for the new module, any
number of function definitions can be added to the `__init.py__` file. number of function definitions can be added to the `__init__.py` file.
That's it!. The next time the OpenStructure project is compiled, the new module That's it!. The next time the OpenStructure project is compiled, the new module
will be built and made available at both the C++ and the Python level. will be built and made available at both the C++ and the Python level.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment