[Twisted-Python] Update Getting started with Pip
Glyph
glyph at twistedmatrix.com
Sat May 19 22:11:08 MDT 2018
> On May 19, 2018, at 1:07 PM, Craig Rodrigues <rodrigc at crodrigues.org> wrote:
>
> In the top left-hand section of https://twistedmatrix.com <https://twistedmatrix.com/>, can someone with
> edit permissions to the page change:
>
> $ virtualenv try-twisted
> $ . try-twisted/bin/activate
> $ pip install twisted[tls]
> $ twist --help
>
>
> to something like:
>
> On Python 2:
> $ python -m virtualenv try-twisted
>
> On Python 3:
> $ python3 -m venv try-twisted
>
> On Python 2 or 3:
> $ . try-twisted/bin/activtate
> $ pip install twisted[tls]
> $ twist --help
>
> At least with base Python 3, using the venv module is preferred: https://docs.python.org/3/library/venv.html <https://docs.python.org/3/library/venv.html>
The "pyenv" script referenced by that documentation was a script that came with Python itself, not "virtualenv". Virtualenv is not deprecated, and behaves more consistently between 2 and 3.
I don't think that adding more complexity to these instructions is a good idea, especially with no clear benefit. Let's not make the change.
-g
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20180519/a536e943/attachment-0002.html>
More information about the Twisted-Python
mailing list