setup.rst

Tue, 02 Jul 2024 10:29:59 +0000

author
pilar <pilar.gumaclaramunt@cnr.it>
date
Tue, 02 Jul 2024 10:29:59 +0000
changeset 3
bd2181f8295e
parent 2
763a7ac22031
permissions
-rw-r--r--

Added two sample plots

============
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