Re: Update Getting started with Pip

Glyph <[email protected]>
Newsgroups gmane.comp.python.twisted
Message-ID <[email protected]>

> On May 19, 2018, at 1:07 PM, Craig Rodrigues <[email protected]> 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

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.