pulumi/tests/integration/empty/python_venv
Justin Van Patten b77ec919d4
Install and use dependencies automatically for new Python projects (#4775)
Automatically create a virtual environment and install dependencies in it with `pulumi new` and `pulumi policy new` for Python templates.

This will save a new `virtualenv` runtime option in `Pulumi.yaml` (`PulumiPolicy.yaml` for policy packs):

```yaml
runtime:
  name: python
  options:
    virtualenv: venv
```

`virtualenv` is the path to a virtual environment that Pulumi will use when running `python` commands.

Existing projects are unaffected and can opt-in to using this by setting `virtualenv`, otherwise, they'll continue to work as-is.
2020-06-09 16:42:53 -07:00
..
.gitignore Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
__main__.py Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
Pulumi.yaml Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
requirements.txt Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00