[New-bugs-announce] [issue38483] [venv] Add ~/.venvrc to change module defaults

Cooper Lees report at bugs.python.org
Tue Oct 15 06:51:40 EDT 2019


New submission from Cooper Lees <me at cooperlees.com>:

I'd like to propose adding a run commands (.venvrc) file support to the venv library.

File Location: `~/.venvrc`

This file will support all current CLI arguments and override the defaults for each CLI if present in the file. I will also endeavour to add test for POSIX + Windows systems.

I propose using `configparser` and an `.ini` style config for the `.venvrc`.

My main use for this is to allow myself to default to always using `--upgrade-deps` when I create new venvs.

Thoughts? Concerns?

----------
components: Library (Lib)
messages: 354712
nosy: cooperlees
priority: normal
severity: normal
status: open
title: [venv] Add ~/.venvrc to change module defaults
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38483>
_______________________________________


More information about the New-bugs-announce mailing list