README 2.43 KB
Newer Older
1
*** Check the complete README in file README.md ***
Maxime Perrotin's avatar
Maxime Perrotin committed
2
***************************************************
3

Maxime Perrotin's avatar
Maxime Perrotin committed
4 5 6 7 8 9 10 11 12 13 14 15 16
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
17
You need to install the following dependencies before you can run Opengeode:
Maxime Perrotin's avatar
Maxime Perrotin committed
18

Maxime Perrotin's avatar
Maxime Perrotin committed
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 47 48 49
- 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
50 51
    $ 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
52
    Check that it works:
53
    $ mono asn1Comp/bin/asn1.exe
Maxime Perrotin's avatar
Maxime Perrotin committed
54 55 56 57 58 59

    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
60

61 62
- llvmpy and LLVM (tested with llvmpy 0.12.4 and LLVM 3.3)
  Follow the instructions here: http://www.llvmpy.org/llvmpy-doc/0.12.7/doc/getting_started.html#installation
dbarbera's avatar
dbarbera committed
63

Maxime Perrotin's avatar
Maxime Perrotin committed
64 65 66

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