From 03261ffbb8378f1e97030d353279ba78a8574606 Mon Sep 17 00:00:00 2001 From: GeoJulien Date: Mon, 28 Aug 2023 20:34:17 +0200 Subject: [PATCH] Add extra to doc and CI --- .github/workflows/build_release.yml | 8 ++++---- .github/workflows/documentation.yml | 2 +- .github/workflows/tests.yml | 4 ++-- docs/development/setup.md | 4 ++-- docs/usage/installation.md | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index a9c6be8..3b82e9b 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -51,7 +51,7 @@ jobs: python -m pip install -U build - name: Install project as a package - run: python -m pip install -e . + run: python -m pip install -e .[all] - name: Build a binary wheel and a source tarball run: >- @@ -90,7 +90,7 @@ jobs: python -m pip install -U -r requirements/packaging.txt - name: Install project as a package - run: python -m pip install -e . + run: python -m pip install -e .[all] - name: Generates Executable run: python -O ./builder/pyinstaller_build_macos.py @@ -123,7 +123,7 @@ jobs: python -m pip install -U -r requirements/packaging.txt - name: Install project as a package - run: python -m pip install -e . + run: python -m pip install -e .[all] - name: Generates Executable run: python -O ./builder/pyinstaller_build_ubuntu.py @@ -157,7 +157,7 @@ jobs: python -m pip install -U -r requirements/packaging.txt - name: Install project as a package - run: python -m pip install -e . + run: python -m pip install -e .[all] - name: Generates MS Version Info run: python .\builder\version_info_templater.py diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 5179303..500de64 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -53,7 +53,7 @@ jobs: python -m pip install -U -r requirements.txt - name: Install project as a package - run: python -m pip install -e . + run: python -m pip install -e .[all] - name: Génère les exemples de sortie env: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index de1f916..7425e69 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,7 +44,7 @@ jobs: python -m pip install -U -r requirements/testing.txt - name: Install project as a package - run: python -m pip install -e . + run: python -m pip install -e .[all] - name: Unit tests run: pytest @@ -76,7 +76,7 @@ jobs: python -m pip install -U -r requirements.txt - name: Install project as a package - run: python -m pip install -e . + run: python -m pip install -e .[all] - name: CLI - Echoing version run: geotribu --version diff --git a/docs/development/setup.md b/docs/development/setup.md index cb3476b..effae69 100644 --- a/docs/development/setup.md +++ b/docs/development/setup.md @@ -26,6 +26,6 @@ source .venv/bin/activate python -m pip install -U pip setuptools wheel # installation des dépendances de base python -m pip install -U -r requirements.txt -# installation du projet en mode développement -python -m pip install -e . +# installation du projet en mode développement avec toutes les dépendances fonctionnelles +python -m pip install -e .[all,dev,doc,test] ``` diff --git a/docs/usage/installation.md b/docs/usage/installation.md index 7dcb715..10fd607 100644 --- a/docs/usage/installation.md +++ b/docs/usage/installation.md @@ -27,7 +27,7 @@ MacOS version is not tested and is just here to encourage beta-testing and feedb ### Installer ```sh -pip install --user --upgrade geotribu +pip install --upgrade geotribu ``` L'outil est désormais disponible en ligne de commande. Voir les [exemples](/usage/examples).