From 05f3618c481162d419cd21e57b773d47000a322d Mon Sep 17 00:00:00 2001 From: DAVID Axel <axel.david@etu.univ-amu.fr> Date: Sun, 7 May 2023 12:11:58 +0200 Subject: [PATCH] fix: :memo: Fix pip install lines --- INSTALL.md | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 2c576e8..fc76110 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -58,7 +58,7 @@ source .venv/bin/activate ### Install dependencies : ```shell -pip install https://etulab.univ-amu.fr/d19006523/vigenere-api/-/packages/pypi/vigenere-api +pip install vigenere-api --index-url https://etulab.univ-amu.fr/api/v4/projects/8004/packages/pypi/simple ``` ## Run the API : @@ -160,19 +160,19 @@ python -m vigenere_api ## Execute tests : ```shell -PYTHONPATH=.src pytest +PYTHONPATH=./src pytest ``` ## Execute coverage : ```shell -PYTHONPATH=.src pytest --cov=src --cov=tests --cov=src --cov=tests --junit-xml=coverage.xml --cov-report=html:coverage_html +PYTHONPATH=./src pytest --cov=src --cov=tests --cov=src --cov=tests --junit-xml=coverage.xml --cov-report=html:coverage_html ``` ## Execute integration tests : ```shell -PYTHONPATH=.src pytest --with-integration +PYTHONPATH=./src pytest --with-integration ``` ## Build the API package : diff --git a/README.md b/README.md index f27a381..b24cf98 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ To see how to build the package, or to install the development version, see 'INS To install the latest version of the package. ```bash -pip install https://etulab.univ-amu.fr/d19006523/vigenere-api/-/packages/pypi/vigenere-api +pip install vigenere-api --index-url https://etulab.univ-amu.fr/api/v4/projects/8004/packages/pypi/simple ``` - API :<br> -- GitLab