Skip to content

Installation

Maurice edited this page Nov 10, 2022 · 18 revisions

Installation

Prerequisites

  • Python 3.9 or so, including pip
  • git

Required Python packages should be installed by installer (during pip install, see below).

Getting/updating Python package from Github using git

Installation

Only first time:

git clone https://github.com/mokko/zml2lido.git

This step creates a new dir called zml2lido. I call this dir script_dir. You will need to invoke lido typically in this directory.

Updating files from zml2lido git, assuming that zml2lido has already been cloned

cd zml2lido # change to script_dir git pull

Install Python stuff (needs to be repeated with some more deeper updates) in script_dir:

pip install . -e

Install Saxon (java version) in dir of your choice and leave that dir in the configuration file only first time

Configuration file

$script_dir/sdata/lido.conf:

saxLib = r"C:\m3\SaxonHE10-5J\saxon-he-10.5.jar"

Test lido pipeline script

lido -h

If there is a problem with the installation it reports an error; success if it shows options like this:

Installation

Prerequisites

  • Python 3.9 or so, including pip
  • git

Getting/updating Python package from Github using git

Installation

Only first time:

git clone https://github.com/mokko/zml2lido.git

This step creates a new dir called zml2lido. I call this dir script_dir. You will need to invoke lido typically in this directory.

Updating files from zml2lido git, assuming that zml2lido has already been cloned

cd zml2lido # change to script_dir git pull

Install Python stuff (needs to be repeated with some more deeper updates) in script_dir:

pip install . -e

Install Saxon (java version) in dir of your choice and leave that dir in the configuration file only first time

Configuration file

$script_dir/sdata/lido.conf:

saxLib = r"C:\m3\SaxonHE10-5J\saxon-he-10.5.jar"

Test lido pipeline script

lido -h

If there is a problem with the installation it reports an error; success if it shows options.

C:\m3\zml2lido>lido -h usage: lido [-h] [-c] -i INPUT -j JOB [-f] [-v]

Little LIDO toolchain

optional arguments: -h, --help show this help message and exit -c, --chunks expect the input to be multiple precisely-named chunks -i INPUT, --input INPUT zml input file -j JOB, --job JOB pick job (e.g. smb or dd) -f, --force force overwrite existing lido -v, --validate validate lido

Clone this wiki locally