setup.rst

Mon, 29 Jan 2024 11:16:12 +0000

author
pilar <pilar.gumaclaramunt@cnr.it>
date
Mon, 29 Jan 2024 11:16:12 +0000
changeset 1
f0db47eb70b1
parent 0
fce4cae19357
child 2
763a7ac22031
permissions
-rw-r--r--

Removed a few example files

============
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) create new poetry project

.. code:: console

    $ poetry new eldamwl_plot

7) install eldamwl_plot

.. code:: console

    $ poetry install

8) activate virtual environment

.. code:: console

    $ poetry shell

check whether installation was successfull
-----------------------------------------

.. code:: console

    $ poetry shell
    $ eldamwl_plot -h

or

.. code:: console

    $ poetry run eldamwl_plot -h

mercurial