-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Benjamin PILIA <[email protected]>
- Loading branch information
1 parent
315ee06
commit 6e196f4
Showing
4 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
How to build and deploy pyalbert | ||
# Comment build et publier une nouvelle version de PyAAlbert | ||
|
||
Le module `pyalbert` est publié dabs les dépôts PyPi. Il faut incrémenter manuellement toute nouvelle version de `pyalbert`. | ||
Pour cela, modifier: | ||
- la variable `__version__` dans `pyalbert/_version.py` | ||
- la variable `version` dans le `pyproject.toml` racine | ||
|
||
Puis lancer: | ||
```sh | ||
python -m pip install build twine | ||
python -m build | ||
twine upload dist/* | ||
``` | ||
|
||
|
||
# Mise à jour du module dans l'API | ||
Pour que l'API utilise la nouvelle version du module, modifier la valeur du module `pyalbert==0.x.y` (section `dependencies`) dans le `pyproject.toml` du dossier api. | ||
|