The installation of PyDvi by itself is quite simple. However it will be easier to get the dependencies on a Linux desktop.
PyDvi requires the following dependencies:
- Python
- Numpy
- freetype-py for Type1 font rendering
The OpenGL DVI viewer requires these additional dependencies:
The DVI to PNG tool requires these additional dependencies:
Also it is recommanded to have these Python modules:
- pip
- virtualenv
For development, you will need in addition:
PyDvi is made available on the PyPI repository at https://pypi.python.org/pypi/PyDVI
Run this command to install the last release:
pip install PyDvi
The PyDvi source code is hosted at https://github.com/FabriceSalvaire/PyDVI
To clone the Git repository, run this command in a terminal:
git clone git@github.com:FabriceSalvaire/PyDvi.git
Then to build and install PyDvi run these commands:
python setup.py build
python setup.py install