Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SETUP] Using Poetry to manage the dependencies #16

Open
felipemarkson opened this issue May 13, 2020 · 4 comments · May be fixed by #17
Open

[SETUP] Using Poetry to manage the dependencies #16

felipemarkson opened this issue May 13, 2020 · 4 comments · May be fixed by #17

Comments

@felipemarkson
Copy link

felipemarkson commented May 13, 2020

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
Copy link

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

@ArthurFleischman
Copy link

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

@felipemarkson
Copy link
Author

felipemarkson commented May 13, 2020

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
Copy link

awesome, lets discuss with the others...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants