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.pyt...@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  <songofaca...@gmail.com>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to