pulumi/sdk/go/common/resource/plugin
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
..
analyzer.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
analyzer_plugin.go Support publishing Python policy packs (#4644) 2020-05-22 15:01:15 -07:00
check.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
config_source.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
context.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
host.go Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
host_server.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
langruntime.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
langruntime_plugin.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
plugin.go update channel options in go 2020-04-23 11:16:36 -07:00
provider.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
provider_plugin.go Install and use dependencies automatically for new Python projects (#4775) 2020-06-09 16:42:53 -07:00
provider_plugin_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
rpc.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
rpc_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00