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

Enable venv in project #5

Merged
merged 2 commits into from
Dec 17, 2020

Conversation

tetienne
Copy link

@tetienne tetienne commented Dec 4, 2020

To ease the project installation process for the developers, a nice feature of Poetry is to create a virtual env directly in the project.
See https://python-poetry.org/docs/configuration/#virtualenvsin-project-boolean

Most of the IDE automatically detects it and uses it.

~/git/synologydsm-api enhancement/venv-in-project                                                          
❯ poetry install                                                                                           Creating virtualenv synologydsm-api in /home/tetienne/git/synologydsm-api/.venv                            
Installing dependencies from lock file                                                                                                                                                                                
Package operations: 83 installs, 0 updates, 0 removals                                                                                                                                                                
  • Installing smmap (3.0.4)                                                                                 • Installing zipp (3.3.1)                                                                                
  • Installing certifi (2020.6.20)                                                                           • Installing chardet (3.0.4)                                                                             
  • Installing gitdb (4.0.5)                                                                                 • Installing idna (2.10)                                                                                 
  • Installing importlib-metadata (2.0.0)                                                                    • Installing markupsafe (1.1.1)                                                                          
  • Installing mccabe (0.6.1)                                                                                • Installing pbr (5.5.1)                                                                                 
  • Installing pycodestyle (2.6.0)                                                                           • Installing pyflakes (2.2.0)                     
...

image

@oncleben31 oncleben31 merged commit f716cb5 into hacf-fr:master Dec 17, 2020
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 this pull request may close these issues.

2 participants