magic-link icon indicating copy to clipboard operation
magic-link copied to clipboard

[SETUP] Using Poetry to manage the dependencies

Open felipemarkson opened this issue 4 years ago • 4 comments

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] 

felipemarkson avatar May 13 '20 00:05 felipemarkson

Hooray! The first issue in a project we never forget ❤️

github-actions[bot] avatar May 13 '20 00:05 github-actions[bot]

isnt a standard option use VENV @felipemarkson ? i never used this...

ArthurFleischman avatar May 13 '20 02:05 ArthurFleischman

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

felipemarkson avatar May 13 '20 12:05 felipemarkson

awesome, lets discuss with the others...

ArthurFleischman avatar May 13 '20 16:05 ArthurFleischman