Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Installing the Python bindings

ahankinson edited this page Mar 1, 2012 · 17 revisions

Libmei ships with Python bindings, allowing you to use Python to manipulate MEI files. We are using the boost.python library, so you will need to have this installed. This is available in most package managers for Linux and Mac.

Change into the python directory:

$> cd $LIBMEI/python

Run the Setup script:

$libmei/python> python setup.py build

If all goes well you can then install it. Some users may require sudo:

$libmei/python> [sudo] python setup.py install

To run the unit tests:

$libmei/python> python setup.py test

Clone this wiki locally