summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2013-03-21 14:03:03 -0700
committerSteve Piercy <web@stevepiercy.com>2013-03-21 14:03:03 -0700
commit21d0288a9211b175f61769d7e7cf471f12ee09cb (patch)
treeab5072bb9e6d4612d8b953504d25fe8018763d03 /docs
parent4b4d695f704ec5a2965b5d2a8d41860047841f6f (diff)
downloadpyramid-21d0288a9211b175f61769d7e7cf471f12ee09cb.tar.gz
pyramid-21d0288a9211b175f61769d7e7cf471f12ee09cb.tar.bz2
pyramid-21d0288a9211b175f61769d7e7cf471f12ee09cb.zip
Generalize Python versions in Windows section.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/install.rst23
1 files changed, 17 insertions, 6 deletions
diff --git a/docs/narr/install.rst b/docs/narr/install.rst
index 0a03d9170..7f4742ee2 100644
--- a/docs/narr/install.rst
+++ b/docs/narr/install.rst
@@ -341,8 +341,8 @@ for both versions are included below.
Windows Using Python 2
~~~~~~~~~~~~~~~~~~~~~~
-#. Install, or find `Python 2.7
- <http://www.python.org/download/releases/2.7.3/>`_ for your system.
+#. Install, or find the most recent `Python 2.7.x version
+ <http://www.python.org/download/>`_ for your system.
#. Install the `Python for Windows extensions
<http://sourceforge.net/projects/pywin32/files/>`_. Make sure to
@@ -390,36 +390,47 @@ Windows Using Python 2
Windows Using Python 3
~~~~~~~~~~~~~~~~~~~~~~
-#. Install, or find `Python 3.2
- <http://www.python.org/download/releases/3.2.3/>`_ for your system.
+#. Install, or find the latest version of `Python 3.x
+ <http://www.python.org/download/>`_ for your system and which is
+ supported by Pyramid.
#. Install the `Python for Windows extensions
<http://sourceforge.net/projects/pywin32/files/>`_. Make sure to
- pick the right download for Python 3.2 and install it using the
+ pick the right download for Python 3.x and install it using the
same Python installation from the previous step.
#. Install latest :term:`distribute` distribution into the Python you
obtained/installed/found in the step above: download `distribute_setup.py
<http://python-distribute.org/distribute_setup.py>`_ and run it using the
- ``python`` interpreter of your Python 3.2 installation using a command
+ ``python`` interpreter of your Python 3.x installation using a command
prompt:
.. code-block:: text
+ # modify the command according to the python version, e.g.:
+ # for Python 3.2.x:
c:\> c:\Python32\python distribute_setup.py
+ # for Python 3.3.x:
+ c:\> c:\Python33\python distribute_setup.py
#. Install :term:`virtualenv`:
.. code-block:: text
+ # for Python 3.2.x:
c:\> c:\Python32\Scripts\easy_install virtualenv
+ # for Python 3.3.x:
+ c:\> c:\Python33\Scripts\easy_install virtualenv
#. Make a :term:`virtualenv` workspace:
.. code-block:: text
c:\> set VENV=c:\env
+ # for Python 3.2.x:
c:\> c:\Python32\Scripts\virtualenv --no-site-packages %VENV%
+ # for Python 3.3.x:
+ c:\> c:\Python33\Scripts\virtualenv --no-site-packages %VENV%
You can either follow the use of the environment variable, ``%VENV%``,
or replace it with the root directory of the :term:`virtualenv`.