Option for venv to upgrade pip automatically?

Marco Sulla Marco.Sulla.Python at gmail.com
Wed Dec 29 03:18:30 EST 2021


Cool, thanks!

On Wed, 29 Dec 2021 at 07:10, Inada Naoki <songofacandy at gmail.com> wrote:
>
> 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