magic-link
magic-link copied to clipboard
[SETUP] Using Poetry to manage the dependencies
Poetry is a dependency manager.
Poetry allows the same development environment for all developers and organizing the project on a pyproject.toml
file, following the "Python standards" PEP-517 and PEP-518.
After install Poetry you can run the following command to install all dependencies on a Python's virtual environment:
$ poetry install
To activate the virtual environment you can run:
$ poetry shell
To add a dependency you can run:
$ poetry add [PACKGE_NAME]
To add remove a dependency you can run:
$ poetry remove [PACKGE_NAME]
Hooray! The first issue in a project we never forget ❤️
isnt a standard option use VENV @felipemarkson ? i never used this...
isnt a standard option use VENV @felipemarkson ? i never used this...
Actually Poetry uses a virtual environment to manager the dependencies, it is a option to Pipenv and follows the PEP 517
awesome, lets discuss with the others...