virtualenv
This resource installs virtualenv (via homebrew). For initializing a virtual environment using virtualenv please refer to the virtualenv-project resource.
Example usage:
[ { "type": "homebrew" }, { "type": "virtualenv" }]In this basic example, virtualenv is installed. Since this resource depends on homebrew being present, we also
include homebrew as part of the configs.
[ { "type": "homebrew" }, { "type": "virtualenv" }, { "type": "virtualenv-project", "dest": ".venv", "cwd": "~/Projects/example-project2", "automaticallyInstallRequirementsTxt": true }]In this more advanced example, we additionally use the virtualenv-project resource to initialize a virtual environment
inside the directory ~/Projects/example-project2 using the folder .venv.