Last modified 11 years ago Last modified on 09/21/11 12:20:01

Building MeshKit Python bindings

The following steps describe how to get the Python bindings for MeshKit up and running. This will hopefully become simpler in the future as various installation bugs are worked out.

  1. Install SWIG 1.3 using your preferred method (e.g. Synaptic)
  2. Build CGM, MOAB, and Lasso with --enable-shared
  3. Download and untar PyTAPS from <>, or get the latest source from <>
    1. Run "python install"
    2. Run "python install_headers"
    3. For more information about this, consult the documentation on the MOAB wiki.
  4. Build MeshKit with --enable-shared, --enable-python, and --with-camal
  5. Make sure the headers from (3b) are in your CPATH, e.g. if your headers were installed to "/usr/include/python/PyTAPS/<file>.h", your CPATH should contain "/usr/include/python"
  6. cd into meshkit/python and run "python install".
    1. Note: You may need to run this twice, due to a bug in how SWIG extensions get built.
  7. Run some examples from meshkit/python/examples to make sure that installation worked