Skip to content

Commit fac6eb1

Browse files
authored
Merge pull request pypa#247 from stevepiercy/master
use venv instead of pyvenv
2 parents a11d332 + c7c3164 commit fac6eb1

File tree

3 files changed

+30
-31
lines changed

3 files changed

+30
-31
lines changed

source/current.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tool Recommendations
55
====================
66

77
:Page Status: Complete
8-
:Last Reviewed: 2015-08-31
8+
:Last Reviewed: 2016-06-24
99

1010
If you're familiar with Python packaging and installation, and just want to know
1111
what tools are currently recommended, then here it is.
@@ -19,7 +19,7 @@ Installation Tool Recommendations
1919
is installed, you may need to also install :ref:`wheel` to get the benefit
2020
of wheel caching. [3]_
2121

22-
* Use :ref:`virtualenv`, or `pyvenv`_ to isolate application specific
22+
* Use :ref:`virtualenv`, or `venv`_ to isolate application specific
2323
dependencies from a shared Python installation. [4]_
2424

2525
* If you're looking for management of fully integrated cross-platform software
@@ -56,11 +56,11 @@ Packaging Tool Recommendations
5656
as for why pip was chosen.
5757
5858
.. [3] :ref:`get-pip.py <pip:get-pip>` and :ref:`virtualenv` install
59-
:ref:`wheel`, whereas :ref:`ensurepip` and :ref:`pyvenv <venv>` do not
59+
:ref:`wheel`, whereas :ref:`ensurepip` and :ref:`venv <venv>` do not
6060
currently. Also, the common "python-pip" package that's found in various
6161
linux distros, does not depend on "python-wheel" currently.
6262
63-
.. [4] Beginning with Python 3.4, ``pyvenv`` will create virtualenv environments
63+
.. [4] Beginning with Python 3.4, ``venv`` will create virtualenv environments
6464
with ``pip`` installed, thereby making it an equal alternative to
6565
:ref:`virtualenv`. However, using :ref:`virtualenv` will still be
6666
recommended for users that need cross-version consistency.
@@ -90,4 +90,4 @@ Packaging Tool Recommendations
9090
<425>` before linux wheels will be allowed.
9191
9292
.. _distribute: https://pypi.python.org/pypi/distribute
93-
.. _pyvenv: http://docs.python.org/3.4/library/venv.html
93+
.. _venv: https://docs.python.org/3/library/venv.html

source/installing.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Installing Packages
33
===================
44

55
:Page Status: Complete
6-
:Last Reviewed: 2015-09-09
6+
:Last Reviewed: 2016-06-24
77

88
This section covers the basics of how to install Python :term:`packages
99
<Distribution Package>`.
@@ -86,11 +86,11 @@ but here's the basic commands:
8686
virtualenv <DIR>
8787
source <DIR>/bin/activate
8888

89-
Using `pyvenv`_: [3]_
89+
Using `venv`_: [3]_
9090

9191
::
9292

93-
pyvenv <DIR>
93+
python3 -m venv <DIR>
9494
source <DIR>/bin/activate
9595

9696

@@ -122,7 +122,7 @@ environments.
122122

123123
Currently, there are two viable tools for creating Python virtual environments:
124124

125-
* `pyvenv`_ is available by default in Python 3.3 and later, and installs
125+
* `venv`_ is available by default in Python 3.3 and later, and installs
126126
:ref:`pip` and :ref:`setuptools` into created virtual environments in
127127
Python 3.4 and later.
128128
* :ref:`virtualenv` needs to be installed separately, but supports Python 2.6+
@@ -140,16 +140,16 @@ Using :ref:`virtualenv`:
140140
source <DIR>/bin/activate
141141

142142

143-
Using `pyvenv`_:
143+
Using `venv`_:
144144

145145
::
146146

147-
pyvenv <DIR>
147+
python3 -m venv <DIR>
148148
source <DIR>/bin/activate
149149

150150

151151
For more information, see the `virtualenv <http://virtualenv.pypa.io>`_ docs or
152-
the `pyvenv`_ docs.
152+
the `venv`_ docs.
153153

154154

155155
Use pip for Installing
@@ -374,7 +374,7 @@ Install `setuptools extras`_.
374374
installs the default behavior
375375
<https://github.com/pypa/pip/issues/1668>`_.
376376
377-
.. [3] Beginning with Python 3.4, ``pyvenv`` (a stdlib alternative to
377+
.. [3] Beginning with Python 3.4, ``venv`` (a stdlib alternative to
378378
:ref:`virtualenv`) will create virtualenv environments with ``pip``
379379
pre-installed, thereby making it an equal alternative to
380380
:ref:`virtualenv`.
@@ -383,5 +383,5 @@ Install `setuptools extras`_.
383383
and support was released in :ref:`setuptools` v8.0 and
384384
:ref:`pip` v6.0
385385
386-
.. _pyvenv: http://docs.python.org/3.4/library/venv.html
387-
.. _setuptools extras: http://packages.python.org/setuptools/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies
386+
.. _venv: https://docs.python.org/3/library/venv.html
387+
.. _setuptools extras: http://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies

source/projects.rst

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Project Summaries
66
=================
77

88
:Page Status: Complete
9-
:Last Reviewed: 2015-09-08
9+
:Last Reviewed: 2016-06-24
1010

1111
Summaries and links for the most relevant projects in the space of Python
1212
installation and packaging.
@@ -35,7 +35,7 @@ complete mirror of the contents of PyPI.
3535
distlib
3636
=======
3737

38-
`Docs <http://pythonhosted.org/distlib>`__ |
38+
`Docs <http://pythonhosted.org/distlib/>`__ |
3939
`Mailing list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ [2]_ |
4040
`Issues <https://bitbucket.org/pypa/distlib/issues?status=new&status=open>`__ |
4141
`Bitbucket <https://bitbucket.org/pypa/distlib>`__ |
@@ -68,7 +68,7 @@ Core utilities for Python packaging used by :ref:`pip` and :ref:`setuptools`.
6868
pip
6969
===
7070

71-
`Docs <https://pip.pypa.io>`__ |
71+
`Docs <https://pip.pypa.io/en/stable/>`__ |
7272
`User list <http://groups.google.com/group/python-virtualenv>`__ [1]_ |
7373
`Dev list <http://groups.google.com/group/pypa-dev>`__ |
7474
`Issues <https://github.com/pypa/pip/issues>`__ |
@@ -83,7 +83,7 @@ A tool for installing Python packages.
8383
Python Packaging User Guide
8484
===========================
8585

86-
`Docs <http://packaging.python.org>`__ |
86+
`Docs <https://packaging.python.org/en/latest/>`__ |
8787
`Mailing list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ |
8888
`Issues <https://github.com/pypa/python-packaging-user-guide/issues>`__ |
8989
`Github <https://github.com/pypa/python-packaging-user-guide>`__ |
@@ -99,7 +99,7 @@ This guide!
9999
setuptools
100100
==========
101101

102-
`Docs <https://setuptools.readthedocs.io>`__ |
102+
`Docs <https://setuptools.readthedocs.io/en/latest/>`__ |
103103
`User list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ [2]_ |
104104
`Dev list <http://groups.google.com/group/pypa-dev>`__ |
105105
`Issues <https://bitbucket.org/pypa/setuptools/issues>`__ |
@@ -137,7 +137,7 @@ Twine is a utility for interacting with PyPI, that offers a secure replacement f
137137
virtualenv
138138
==========
139139

140-
`Docs <https://virtualenv.pypa.io>`__ |
140+
`Docs <https://virtualenv.pypa.io/en/stable/>`__ |
141141
`User list <http://groups.google.com/group/python-virtualenv>`__ |
142142
`Dev list <http://groups.google.com/group/pypa-dev>`__ |
143143
`Issues <https://github.com/pypa/virtualenv/issues>`__ |
@@ -154,7 +154,7 @@ A tool for creating isolated Python environments.
154154
Warehouse
155155
=========
156156

157-
`Docs <http://warehouse.readthedocs.org/en/latest/>`__ |
157+
`Docs <https://warehouse.pypa.io/>`__ |
158158
`Mailing list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ [2]_ |
159159
`Issues <https://github.com/pypa/warehouse/issues>`__ |
160160
`Github <https://github.com/pypa/warehouse>`__ |
@@ -169,7 +169,7 @@ The new unreleased PyPI application which can be previewed at https://warehouse.
169169
wheel
170170
=====
171171

172-
`Docs <http://wheel.readthedocs.org>`__ |
172+
`Docs <http://wheel.readthedocs.io/en/latest/>`__ |
173173
`Mailing list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ [2]_ |
174174
`Issues <https://bitbucket.org/pypa/wheel/issues?status=new&status=open>`__ |
175175
`Bitbucket <https://bitbucket.org/pypa/wheel>`__ |
@@ -206,7 +206,7 @@ reproducibility, extensibility and simplicity (in that order).
206206
buildout
207207
========
208208

209-
`Docs <http://www.buildout.org>`__ |
209+
`Docs <http://www.buildout.org/en/latest/>`__ |
210210
`Mailing list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ [2]_ |
211211
`Issues <https://bugs.launchpad.net/zc.buildout>`__ |
212212
`PyPI <https://pypi.python.org/pypi/zc.buildout>`__ |
@@ -221,7 +221,7 @@ lets you create a buildout configuration and reproduce the same software later.
221221
conda
222222
=====
223223

224-
`Docs <http://docs.continuum.io/conda/index.html>`__
224+
`Docs <http://conda.pydata.org/docs/>`__
225225

226226
conda is the package management tool for `Anaconda
227227
<http://docs.continuum.io/anaconda/index.html>`__ Python installations.
@@ -244,7 +244,7 @@ for managing distributions from PyPI.
244244
devpi
245245
=====
246246

247-
`Docs <http://doc.devpi.net>`__ |
247+
`Docs <http://doc.devpi.net/latest/>`__ |
248248
`Mailing List <https://groups.google.com/forum/#!forum/devpi-dev>`__ |
249249
`Issues <https://bitbucket.org/hpk42/devpi/issues>`__ |
250250
`PyPI <https://pypi.python.org/pypi/devpi>`__
@@ -304,7 +304,7 @@ build of the Python distribution.
304304
distutils
305305
=========
306306

307-
`Docs <https://docs.python.org/3/library/distutils.html#module-distutils>`__ |
307+
`Docs <https://docs.python.org/3/library/distutils.html>`__ |
308308
`User list <http://mail.python.org/mailman/listinfo/distutils-sig>`__ [2]_ |
309309
`Issues <http://bugs.python.org>`__ |
310310
User irc:#pypa |
@@ -324,10 +324,9 @@ venv
324324
`Docs <https://docs.python.org/3/library/venv.html>`__ |
325325
`Issues <http://bugs.python.org>`__
326326

327-
A package in the Python Standard Library (starting with Python 3.3) that
328-
includes the ``pyvenv`` tool for creating :term:`Virtual Environments <Virtual
329-
Environment>`. For more information, see the section on :ref:`Creating and
330-
using Virtual Environments`.
327+
A package in the Python Standard Library (starting with Python 3.3) for
328+
creating :term:`Virtual Environments <Virtual Environment>`. For more
329+
information, see the section on :ref:`Creating and using Virtual Environments`.
331330

332331

333332
----

0 commit comments

Comments
 (0)