setup.rst

Tue, 02 Jul 2024 08:37:49 +0000

author
pilar <pilar.gumaclaramunt@cnr.it>
date
Tue, 02 Jul 2024 08:37:49 +0000
changeset 2
763a7ac22031
parent 0
fce4cae19357
permissions
-rw-r--r--

Added the plotting of high and low resolution together in the same plot.

============
Installation
============

The handling of packages and the virtual environment is managed by poetry.

Installation on production system as user
-----------------------------------------

system requirements: pip, python3

1) install poetry

.. code:: console

    $ python -mpip install --user poetry


2) set <path>, where poetry puts the virtual environment

.. code:: console

    $ poetry config virtualenvs.path <path>

3) on slackware, it is necessary to set poetry installer type

.. code:: console

    $ poetry config experimental.new-installer  false

4) download project from the repository

.. code:: console

    repository

5) install eldamwl_plot

.. code:: console

    $ poetry install

6) activate virtual environment

.. code:: console

    $ poetry shell

Check whether the installation was successful
---------------------------------------------

.. code:: console

    $ poetry shell
    $ python eldamwl_plot.py -h

or

.. code:: console

    $ poetry run python eldamwl_plot.py -h

mercurial