README 2.16 KB
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1 2 3 4 5 6 7 8 9 10 11 12 13
OpenGEODE is a tiny, free SDL editor done in the scope of the TASTE project.

SDL is the Specification and Description Language (Z100 standard from ITU-T)

Author: Maxime Perrotin
(maxime.perrotin@esa.int)

The background pattern was downloaded from www.subtlepatterns.com

Developer documentation is provided in docstrings in the Python modules.

License is LGPL (see file LICENSE)

Maxime Perrotin's avatar
Maxime Perrotin committed
14
You need to install the following dependencies before you can run Opengeode:
Maxime Perrotin's avatar
Maxime Perrotin committed
15

Maxime Perrotin's avatar
Maxime Perrotin committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
- Python 2.7
  installed on all Linux distributions ; on Windows you need to install it manually

- PySide
  on debian-based Linux run:
  $ sudo apt-get install python-pyside
  on windows and mac, download and run the automatic installer from Qt

- pip for Python2
  on debian-based Linux run:
  $ sudo apt-get install python-pip
  on windows and mac, download and use the automatic installer

- enum34, singledispatch, graphviz, antlr runtime
  graphviz core needs to be installed from the Linux repos first:
  $ sudo apt-get install graphviz

  Then using pip, install the python libraries:
  $ sudo pip install --upgrade graphviz enum34 singledispatch
  $ sudo pip install antlr_python_runtime --allow-external antlr_python_runtime --allow-unverified antlr_python_runtime

  * Note: graphviz for python cannot be installed on Windows

- ASN1SCC - the ASN.1 compiler
  Download here: http://www.semantix.gr/asn1scc/asn1Comp.tar.gz
  It is a .NET application, it can be installed on Windows and Linux (you need mono)
  Make sure asn1.exe is in the path
  On linux :
    $ cd /opt
    $ sudo wget http://www.semantix.gr/asn1scc/asn1Comp.tar.gz
    $ sudo tar zxvf asn1Comp.tar.gz
47 48
    $ sudo apt-get install mono-runtime libmono-system-runtime4.0-cil libmono-i18n-west2.0-cil libmono-posix2.0-cil libmono-security2.0-cil
  libmono-system-runtime-serialization4.0-cil
Maxime Perrotin's avatar
Maxime Perrotin committed
49 50 51 52 53 54 55 56
    Check that it works:
    $ asn1Comp/bin/asn1.exe

    Then add to your PATH the bin directory in e.g. your .bashrc file
    $ echo 'export PATH=$PATH:/opt/asn1Comp/bin' >> ~/.bashrc

- gnat - if you want to build the code you generate in Ada
  $ sudo apt-get install gnat
Maxime Perrotin's avatar
Maxime Perrotin committed
57 58 59 60


To make a static binary on Linux with pyinstaller 2.0:
 python pyinstaller.py ../../opengeode.py --onefile