Changes between Initial Version and Version 1 of Python API

Show
Ignore:
Timestamp:
09/20/13 13:17:22 (11 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python API

    v1 v1  
     1The MUSCLE Python API closely resembles the C api but is slightly more brief. Currently, only Python 2.x is supported. 
     2It is enabled by default on the latest version of MUSCLE, and can be forced to be enabled by setting 
     3{{{ 
     4$ cd [MUSCLE_SRC]/build 
     5$ export MUSCLE_BUILD_OPTIONS="-DBUILD_PYTHON=ON" 
     6$ ./build.sh [MUSCLE_INSTALL_DIR] 
     7}}} 
     8It will then be built as the Python module. By doing 
     9{{{ 
     10$ source [MUSCLE_INSTALL_DIR]/etc/muscle.profile 
     11}}} 
     12it gets included in the Python module path. The latest information about the module can always be found by doing 
     13{{{ 
     14$ python 
     15import muscle 
     16help(muscle) 
     17}}}