summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-08-18 03:48:05 -0700
committerSteve Piercy <web@stevepiercy.com>2018-08-18 03:48:05 -0700
commitd9fdc76c31da3a296f0b1a9f832a2cfc0203bb46 (patch)
tree15ef39881a3bafe9b3cf0c8d6a0d688767b07c65 /docs/narr
parent4588374adaf937c70fe15973d6fed4d2459ed615 (diff)
downloadpyramid-d9fdc76c31da3a296f0b1a9f832a2cfc0203bb46.tar.gz
pyramid-d9fdc76c31da3a296f0b1a9f832a2cfc0203bb46.tar.bz2
pyramid-d9fdc76c31da3a296f0b1a9f832a2cfc0203bb46.zip
Clean up code-blocks in install
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/install.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/narr/install.rst b/docs/narr/install.rst
index a9ec68d61..d2a6ff957 100644
--- a/docs/narr/install.rst
+++ b/docs/narr/install.rst
@@ -58,8 +58,8 @@ Alternatively, you can use the `homebrew <https://brew.sh/>`_ package manager.
.. code-block:: text
- # for python 3.x
- $ brew install python3
+ # for python 3.x
+ $ brew install python3
If you use an installer for your Python, then you can skip to the section
:ref:`installing_unix`.
@@ -178,8 +178,8 @@ After installing Python as described previously in :ref:`for-mac-os-x-users` or
.. code-block:: bash
- $ export VENV=~/env
- $ python3 -m venv $VENV
+ export VENV=~/env
+ 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
@@ -233,10 +233,10 @@ After installing Python as described previously in
.. code-block:: doscon
- c:\> cd \
- c:\> set VENV=c:\env
- c:\> python -m venv %VENV%
- c:\> cd %VENV%
+ cd \
+ set VENV=c:\env
+ python -m venv %VENV%
+ cd %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
@@ -250,7 +250,7 @@ After installing Python as described previously in
.. parsed-literal::
- c:\\> %VENV%\\Scripts\\pip install "pyramid==\ |release|\ "
+ %VENV%\\Scripts\\pip install "pyramid==\ |release|\ "
.. note:: See the note above for :ref:`Why use $VENV/bin/pip instead of source
bin/activate, then pip <venv-bin-pip-vs-source-bin-activate>`.