The "What Would Brett Do?" VS Code extension
MIT License
This EXPERIMENTAL extension is meant to help people set up a Python environment.
The project structure and user experience of this extension is very opinionated. While the supported project structures and workflows are considered common enough, do not be surprised if your particular workflow is not supported, especially if they would be considered advanced to someone new to Python.
This extension is meant act as a playground for the Python extension around environments and solicit feedback on this extension's functionality. If you have any feedback, please start a discussion. Popular functionality may make it's way into the Python extension itself.
If the VIRTUAL_ENV
environment variable is set, WWBD will use that to set the selected Python environment.
Create Environment
commandpython -m venv .venv --prompt . && echo "*" > .venv/.gitignore
.dev
and requirements
and ends in .txt
, or requirements.txt
).python -m pip install --requirement <requirements file>
.venv
(typically only missing on Debian-based Linux distros; install via python3-venv
)pip
(typically only missing on Debian-based Linux distros; install via python3-pip
)N/A
venv
and pip
available/installed (something Debian/Ubuntu users must watch out for).