Skip to content

Instantly share code, notes, and snippets.

@fortierq
Created January 21, 2021 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fortierq/b13e93bb6fa9c54ceb751d6c4e02bc75 to your computer and use it in GitHub Desktop.
Save fortierq/b13e93bb6fa9c54ceb751d6c4e02bc75 to your computer and use it in GitHub Desktop.
python poetry pipenv conda
installer un package pip install poetry add pipenv install conda install
liste des dépendances requirements.txt pyproject.toml + poetry.lock Pipfile + Pipfile.lock environment.yml
installer toutes les dépendances pip install -r requirements.txt poetry install pipenv install conda install
mettre à jour toutes les dépendances X poetry update pipenv update conda update
créer un environnement virtuel python -m venv (automatique) (automatique) conda create
activer un environnement virtuel source venv/bin/activate poetry shell pipenv shell conda activate
lancer une commande dans l'environnement X poetry run pipenv run X
construire une archive du package setuptools poetry build X conda skeleton + conda-build
publier un package twine poetry publish X anaconda upload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment