To install Modelica Parser, run this command in your terminal:
$ pip install modparc
This is the preferred method to install Modelica Parser, as it will always install the most recent stable release.
The sources for Modelica Parser can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/xie-dongping/modparc
Or download the tarball:
$ curl -OL https://github.com/xie-dongping/modparc/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install