lucasmontano / magic-link

Generate, send and validate a magic link.
MIT License
105 stars 13 forks source link

[SETUP] Using Poetry to manage the dependencies #16

Open felipemarkson opened 4 years ago

felipemarkson commented 4 years ago

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] 
github-actions[bot] commented 4 years ago

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

ArthurFleischman commented 4 years ago

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

felipemarkson commented 4 years ago

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

ArthurFleischman commented 4 years ago

awesome, lets discuss with the others...