You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e0671ff
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/source/installation.rst
+8-48Lines changed: 8 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,19 @@ Installation
8
8
Stable release
9
9
--------------
10
10
11
-
If deployed in Pypi, to install slurp, run this command in your terminal:
11
+
SLURP is deployed on Pypi. To install slurp, please create a python 3.10 virtual environment :
12
12
13
13
.. code-block:: console
14
14
15
-
$ pip install slurp
15
+
$ python3.10 -m venv slurp_env
16
+
$ pip install slurp-masks
16
17
17
18
This is the preferred method to install slurp, as it will always install the most recent stable release.
18
19
19
-
Consider using a virtualenv to separate and test the installation.
20
+
.. warning::
21
+
22
+
Depending on which computation you want to perform (cf. `Use cases <use_cases.html>`_ page), you may need to install OTB on your system as an additional dependencies.
23
+
Please refer to the OTB installation guide provided `here <https://www.orfeo-toolbox.org/CookBook-develop/Installation.html#create-an-healthy-python-environment-for-otb>`_ for more details.
20
24
21
25
If you don't have `pip`_ installed, this `Python installation guide`_ can guide
22
26
you through the process.
@@ -28,7 +32,7 @@ you through the process.
28
32
From sources
29
33
------------
30
34
31
-
The sources for slurp can be downloaded from the `Github repo`_.
35
+
The sources for SLURP can be downloaded from the `Github repo`_.
32
36
33
37
You can either clone the public repository:
34
38
@@ -51,50 +55,6 @@ Once you have a copy of the source, you can install it in a virtualenv with:
51
55
$ make install
52
56
$ source venv/bin/activate
53
57
54
-
Install (from the README.md)
55
-
-------
56
-
57
-
You need to clone the repository and pip install SLURP.
58
-
59
-
.. code-block:: console
60
-
61
-
git clone git@gitlab.cnes.fr:pluto/slurp.git
62
-
63
-
To install SLURP, you need OTB,
64
-
`EOScale <https://gitlab.cnes.fr/pluto/eoscale>`__ and some libraries
65
-
already installed on VRE OT.
66
-
67
-
Otherwise, if you are are connected to TREX, or working on your personal
68
-
computer (Linux), you may set the environment as mentioned below. ###
69
-
Create a virtual env with all libraries (if you don’t use VRE OT) On
70
-
TREX, connect to a computing node to create & compile the virtual
71
-
environment (needed to compile rasterio at install time)
0 commit comments