Changeset 7b1824 for src/Python/PythonScripting_impl.hpp
- Timestamp:
- May 19, 2021, 7:06:29 PM (4 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 867fb5
- Parents:
- 6b7765
- git-author:
- Frederik Heber <frederik.heber@…> (04/22/19 23:02:02)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
- File:
-
- 1 edited
-
src/Python/PythonScripting_impl.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Python/PythonScripting_impl.hpp
r6b7765 r7b1824 19 19 #include <boost/python/module.hpp> 20 20 #include <boost/python/args.hpp> 21 #include <boost/python/numpy.hpp> 21 22 22 23 #include "CodePatterns/toString.hpp" … … 73 74 } /* namespace MoleCuilder */ 74 75 76 void export_numpy(); 75 77 76 78 BOOST_PYTHON_MODULE(pyMoleCuilder) … … 80 82 atexit(MoleCuilder::detail::module_exit); 81 83 84 // initialize numpy C-API 85 boost::python::numpy::initialize(); 86 82 87 // set the docstring of the current module scope 83 88 boost::python::scope().attr("__doc__") = "pyMolecuilder are the python bindings to all Actions of the program suite MoleCuilder.\n\nMoleCuilder is a program to build molecular (dynamics) worlds, allowing you indefinite manipulation, control and analysis over the atoms and molecules within a simulation domain."; 89 90 export_numpy(); 84 91 85 92 boost::python::def(
Note:
See TracChangeset
for help on using the changeset viewer.
