Option for venv to upgrade pip automatically?
Inada Naoki
songofacandy at gmail.com
Wed Dec 29 01:10:05 EST 2021
You can use --upgrade-deps option. My alias is:
alias mkvenv='python3 -m venv --upgrade-deps --prompt . venv'
On Wed, Dec 29, 2021 at 4:55 AM Marco Sulla
<Marco.Sulla.Python at gmail.com> wrote:
>
> I think it's very boring that, after creating a venv, you have
> immediately to do every time:
>
> pip install -U pip
>
> Can't venv have an option for doing this automatically or, better, a
> config file where you can put commands that will be launched every
> time after you create a venv?
> --
> https://mail.python.org/mailman/listinfo/python-list
--
Inada Naoki <songofacandy at gmail.com>
More information about the Python-list
mailing list