diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-04-12 03:00:56 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2016-04-12 03:00:56 -0700 |
| commit | 278afff7a9bbb42d96ac2199689c3141b9463b9c (patch) | |
| tree | 2579157b840714e00202a1c7bb730d6849e4d7b6 /docs/narr | |
| parent | f4013e4ed87d1ebec94756e07220b7ee273727b4 (diff) | |
| parent | b485166239091c620c96ca71369c69f6fa7a8be7 (diff) | |
| download | pyramid-278afff7a9bbb42d96ac2199689c3141b9463b9c.tar.gz pyramid-278afff7a9bbb42d96ac2199689c3141b9463b9c.tar.bz2 pyramid-278afff7a9bbb42d96ac2199689c3141b9463b9c.zip | |
Merge pull request #2479 from stevepiercy/docs/easy-install-to-pip.2104
Docs/easy install to pip.2104
Diffstat (limited to 'docs/narr')
| -rw-r--r-- | docs/narr/commandline.rst | 4 | ||||
| -rw-r--r-- | docs/narr/install.rst | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst index bc04f4c7a..3e164ee8d 100644 --- a/docs/narr/commandline.rst +++ b/docs/narr/commandline.rst @@ -578,10 +578,10 @@ Using Custom Arguments to Python when Running ``p*`` Scripts .. versionadded:: 1.5 Each of Pyramid's console scripts (``pserve``, ``pviews``, etc.) can be run -directly using ``python -m``, allowing custom arguments to be sent to the +directly using ``python3 -m``, allowing custom arguments to be sent to the Python interpreter at runtime. For example:: - python -3 -m pyramid.scripts.pserve development.ini + python3 -m pyramid.scripts.pserve development.ini .. index:: diff --git a/docs/narr/install.rst b/docs/narr/install.rst index 5e2abb236..548d040f1 100644 --- a/docs/narr/install.rst +++ b/docs/narr/install.rst @@ -5,8 +5,8 @@ Installing :app:`Pyramid` .. note:: - This installation guide now emphasizes the use of Python 3.4 and greater - for simplicity. + This installation guide emphasizes the use of Python 3.4 and greater for + simplicity. .. index:: @@ -126,8 +126,8 @@ also need to download and install the Python for Windows extensions. Requirements for Installing Packages ------------------------------------ -Use :term:`pip` for installing packages and :term:`pyvenv` for creating a -virtual environment. A virtual environment is a semi-isolated Python +Use :term:`pip` for installing packages and ``python3 -m venv env`` for +creating a virtual environment. A virtual environment is a semi-isolated Python environment that allows packages to be installed for use by a particular application, rather than being installed system wide. @@ -155,7 +155,7 @@ After installing Python as described previously in :ref:`for-mac-os-x-users` or .. code-block:: bash $ export VENV=~/env - $ pyvenv $VENV + $ python3 -m venv $VENV You can either follow the use of the environment variable ``$VENV``, or replace it with the root directory of the virtual environment. If you choose @@ -190,7 +190,7 @@ After installing Python as described previously in c:\> set VENV=c:\env # replace "x" with your minor version of Python 3 - c:\> c:\Python3x\Scripts\pyvenv %VENV% + c:\> c:\Python3x\Scripts\python3 -m venv %VENV% You can either follow the use of the environment variable ``%VENV%``, or replace it with the root directory of the virtual environment. If you choose |
