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

Add guidelines on how to setup and use virtual environments #50

Closed
4 tasks
jorgepiloto opened this issue Feb 18, 2022 · 2 comments
Closed
4 tasks

Add guidelines on how to setup and use virtual environments #50

jorgepiloto opened this issue Feb 18, 2022 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jorgepiloto
Copy link
Member

Virtual environments are a fundamental concept and tool in the Python ecosystem. They allow developers to have an isolated development environment and avoid dependencies conflicts when working across several projects.

This could be added within the Development practices section and should include the following subsections:

  • Why virtual envs exist/matter.
  • How to setup a fresh and clean venv.
  • Hot to check, activate and deactivate those.
  • Editable installs?
@jorgepiloto jorgepiloto self-assigned this Feb 18, 2022
@jorgepiloto jorgepiloto added the documentation Improvements or additions to documentation label Feb 18, 2022
@jorgepiloto
Copy link
Member Author

jorgepiloto commented Feb 22, 2022

It would be convenient to explain how tools like flit and poetry interface with venvs. Poetry will automatically create a venv in a default location depending on the OS being used and activate a custom venv for development purposes, see official poetry docs.

@jorgepiloto
Copy link
Member Author

Closing this in favor of #64. This must be implemented under how-to/setup/venv.rst.

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

No branches or pull requests

1 participant