diff --git a/INSTALL.md b/INSTALL.md index 2c576e80514948395290bf839b86ced29fed5082..fc761107a6e3414519a15e1d25fcc39677ac5857 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 f27a381efd81d727072913d4c0019b1a65c54863..b24cf986c2bfd4a8a3ac35fcf3822cd18a203bd0 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>