|
1 ============ |
|
2 Installation |
|
3 ============ |
|
4 |
|
5 The handling of packages and the virtual environment is managed by poetry. |
|
6 |
|
7 Installation on production system as user |
|
8 ----------------------------------------- |
|
9 |
|
10 system requirements: pip, python3 |
|
11 |
|
12 1) install poetry |
|
13 |
|
14 .. code:: console |
|
15 |
|
16 $ python -mpip install --user poetry |
|
17 |
|
18 |
|
19 2) set <path>, where poetry puts the virtual environment |
|
20 |
|
21 .. code:: console |
|
22 |
|
23 $ poetry config virtualenvs.path <path> |
|
24 |
|
25 3) on slackware, it is necessary to set poetry installer type |
|
26 |
|
27 .. code:: console |
|
28 |
|
29 $ poetry config experimental.new-installer false |
|
30 |
|
31 4) download project from the repository |
|
32 |
|
33 .. code:: console |
|
34 |
|
35 repository |
|
36 |
|
37 5) create new poetry project |
|
38 |
|
39 .. code:: console |
|
40 |
|
41 $ poetry new eldamwl_plot |
|
42 |
|
43 7) install eldamwl_plot |
|
44 |
|
45 .. code:: console |
|
46 |
|
47 $ poetry install |
|
48 |
|
49 8) activate virtual environment |
|
50 |
|
51 .. code:: console |
|
52 |
|
53 $ poetry shell |
|
54 |
|
55 check whether installation was successfull |
|
56 ----------------------------------------- |
|
57 |
|
58 .. code:: console |
|
59 |
|
60 $ poetry shell |
|
61 $ eldamwl_plot -h |
|
62 |
|
63 or |
|
64 |
|
65 .. code:: console |
|
66 |
|
67 $ poetry run eldamwl_plot -h |