setup.rst

Wed, 28 Aug 2024 11:28:24 +0000

author
pilar <pilar.gumaclaramunt@cnr.it>
date
Wed, 28 Aug 2024 11:28:24 +0000
changeset 4
75213aef70b8
parent 2
763a7ac22031
permissions
-rw-r--r--

Changed the timestamps to UTC and the filenames of the 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