Differences between revisions 1 and 2
Revision 1 as of 2007-02-10 18:07:33
Size: 471
Editor: gtang
Comment:
Revision 2 as of 2007-02-10 19:31:47
Size: 649
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
EMAN2 use Boost.python to wrap c++ function to Python. Pyste is a Boost.Python code generator. In EMAN2 there is a script create_boost_python in /eman2/libpyEM directory to create c++ wrapping file linpy***.cpp. Then the c++ compiler will create libraries which contain all the Python function call of EMAN2. Current release of Pyste has a dificit for the default argument handling. So please replace two of your Pyste files in Python site-packages with attached files. EMAN2 use [http://www.boost.org/libs/python/doc/ Boost.python] to wrap c++ function to Python. [http://www.boost.org/libs/python/pyste/ Pyste] is a Boost.Python code generator. In EMAN2 there is a script create_boost_python in /eman2/libpyEM directory call [http://www.boost.org/libs/python/pyste/ Pyste] to create c++ wrapping files libpy***.cpp. Then the c++ compiler will create libraries which contain all the Python function call of EMAN2. Current release of [http://www.boost.org/libs/python/pyste/ Pyste] has a dificit for the default argument handling. So please replace two of your Pyste files in Python site-packages with attached files.

EMAN2 use [http://www.boost.org/libs/python/doc/ Boost.python] to wrap c++ function to Python. [http://www.boost.org/libs/python/pyste/ Pyste] is a Boost.Python code generator. In EMAN2 there is a script create_boost_python in /eman2/libpyEM directory call [http://www.boost.org/libs/python/pyste/ Pyste] to create c++ wrapping files libpy***.cpp. Then the c++ compiler will create libraries which contain all the Python function call of EMAN2. Current release of [http://www.boost.org/libs/python/pyste/ Pyste] has a dificit for the default argument handling. So please replace two of your Pyste files in Python site-packages with attached files.

EMAN2/Library (last edited 2023-01-02 19:26:26 by TunayDurmaz)