Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • PYTHON - Atelier MatPlotLib PYTHON - Atelier MatPlotLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

En prévision de l'arrivée de la forge institutionnelle INRAE, nous vous invitons à créer vos nouveaux projets sur la forge MIA.

  • Poulard Christine
  • PYTHON - Atelier MatPlotLibPYTHON - Atelier MatPlotLib
  • Wiki
  • Python, gestion des versions de Python des paquets (en construction)

Python, gestion des versions de Python des paquets (en construction) · Changes

Page history
Update Python, gestion des versions de Python des paquets (en construction) authored 2 years ago by Poulard Christine's avatar Poulard Christine
Hide whitespace changes
Inline Side-by-side
Showing
with 8 additions and 1 deletion
+8 -1
Python,-gestion-des-versions-de-Python-des-paquets-(en-construction).md
View page @ 0f495cc7
......@@ -139,8 +139,9 @@ Poetry s'installe comme n'importe quel module, dans l'environnement virtuel acti
`(mon_venv) chemin_courant >py -m pip install poetry`
`(mon_venv) chemin_courant >poetry new nom_projet` va créer un fichier `pyproject.toml` pour un projet à créer
`(mon_venv) chemin_courant >poetry init` va créer un fichier `pyproject.toml`
`(mon_venv) chemin_courant >poetry init` va créer un fichier `pyproject.toml` pour un projet existant
> This command will guide you through creating your pyproject.toml config.
> Package name [2022-test-anguilles-git]:
......@@ -167,8 +168,14 @@ build-backend = "poetry.core.masonry.api"
Poetry distingue une version "développement", avec des modules dont l'utilisateur des scripts n'aura pas besoin (comme **black**, pour formater le code ):
`(mon_venv) chemin_courant > poetry add mon_module`
`(mon_venv) chemin_courant > poetry add -d mon_module_pour_dev`
** Installer les dépendances
Quand l'utilisateur récupère les scripts (comment ? dépôt ?)
`poetry install`
## Quelques ressources :
- tuto du site [Pypi](https://packaging.python.org/tutorials/installing-packages/) qui met à disposition un catalogue de paquets
......
Clone repository
  • AtelierB1_Graphiques_simples
  • AtelierB2_Lire_un_fichier
  • AtelierC
  • Atelier_D_carte
  • Atelier_D_carte_a_partir_de_fichiers_binaires
  • Atelier_E_longues_series
  • Atelier_G_widgets
  • Atelier_clic_afficher
  • Atelier_clics
  • Cartes focus sur le redimensionnement
  • GUI avec QT
  • La doc avec Sphinx
  • Lexique
  • Point Théorie Subplots
  • Pour les contributeurs
View All Pages

Menu

Explore Projects Groups Topics Snippets