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

bpo-37349: Allow specification of custom environmental variables in EnvBuilder #14272

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

cdonovick
Copy link
Contributor

@cdonovick cdonovick commented Jun 20, 2019

  • Adds argument --env-vars to venv
    • Accepts KEY=VALUE
    • Verifies validity of KEY as environment variable
  • Adds argument environmental_variables: Optional[Dict[str, str]] to EnvBuilder.__init__
    • Modifies <env>/bin/activate to set and restore environmental_variables on activate / deactivate

https://bugs.python.org/issue37349

@mangrisano
Copy link
Contributor

/cc @vsajip

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

Successfully merging this pull request may close these issues.

5 participants