-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
- Python 3.9 or so, including pip
- git
- java
- Saxon (java)
Required Python packages should be installed by installer (during pip install, see below).
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
$script_dir/sdata/lido.conf:
saxLib = r"C:\m3\SaxonHE10-5J\saxon-he-10.5.jar"
lido -h
If there is a problem with the installation it reports an error; success if it shows options like this:
- Python 3.9 or so, including pip
- git
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
$script_dir/sdata/lido.conf:
saxLib = r"C:\m3\SaxonHE10-5J\saxon-he-10.5.jar"
lido -h
If there is a problem with the installation it reports errors; 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