Commit efd04650 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update Makefile and README for installation

parent 59581288
......@@ -53,7 +53,9 @@ dependencies:
install:
@pip3 install --user --upgrade .
full-install: update dependencies install
full-install: update
sudo $(MAKE) dependencies
$(MAKE) install
publish:
@python3 setup.py sdist upload
......
......@@ -52,14 +52,19 @@ It is part of the [TASTE project](https://taste.tools)
It is installed with all dependencies in the TASTE virtual machine that you can download from this link. Manual installation is possible in a native Linux environment.
Debian 10 (buster) is the baseline. Recent versions of Ubuntu (20.x) should work as well.
The following commands should automate the installation:
The following commands should automate the installation (with exception of ASN1SCC - see below):
```
$ git clone https://github.com/esa/opengeode
$ cd opengeode
$ sudo make full-install # it will use apt to get dependencies
$ make full-install # it will prompt for sudo password to call apt
```
The installation will be done in the `~/.local` folder by the Python3 pip tool. Make sure you add this to your .bashrc (or equivalent):
```
export PATH=~/.local/bin:$PATH
```
OpenGEODE uses the ASN1 [ASN1SCC](https://github.com/ttsiodras/asn1scc) for the datatypes. You must install it manually:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment