To install the package simply run:
$ sudo python setup.py install --prefix /usr
If you just want to try out, tell python where to find the library and start either the gui or a python shell:
$ PYTHONPATH=. ./odml-gui
$ PYTHONPATH=. python
Two debian packages are created: * python-odml containing only the odml-library (API) * python-odml-gui providing the additional gui-specific parts
To build the packages run:
git checkout debian
cd debian; make; cd ..
fakeroot debian/rules binary
And install them:
dpkg -i ../python-odml*.deb
A windows package is seperately bundled. To build the windows package from source, follow these instructions:
-
Install the following software (ALWAYS use the 32-bit versions!)
- python-2.7
- pygtk-windows (all-in-one installer)
- py2exe
- setuptools
-
Install build dependencies
$ easy_install.exe lxml
If this fails, you can fall back to installing it from the Unofficial Windows Binaries for Python Extension Packages
-
To just run the software use:
$ python.exe odml-gui
You may also rename odml-gui to odml-gui.py, which allows you to start the gui through double clicking on that file. You can even right click and send it as a shortcut to the desktop.
-
Compile a binary for redistribution
$ python.exe setup.py py2exe
For some reason the compiled binary has a different look, so running the software from source gets a more native look.
The provided standalone package is created on linux using the
gen-win32-package.sh
script on the win32 branch. It requires wine though for extraction of msi-installers.
Should you find a behaviour that is likely a bug, please file a bug report at the github bug tracker.
If you have questions regarding the use of the library or the editor, ask
the question on Stack Overflow, be sure to tag
it with odml
and we'll do our best to quickly solve the problem.