summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-05-28 17:38:23 +0000
committerChris McDonough <chrism@agendaless.com>2009-05-28 17:38:23 +0000
commit859f9dea520147d2c630d80b5ded6dca1085f2d3 (patch)
tree447b29838d2acc5ba39ee96470d007ec0a2bea4e /docs
parentc22ac7eb5595bdd4a206efa7b680722bfab8f8ee (diff)
downloadpyramid-859f9dea520147d2c630d80b5ded6dca1085f2d3.tar.gz
pyramid-859f9dea520147d2c630d80b5ded6dca1085f2d3.tar.bz2
pyramid-859f9dea520147d2c630d80b5ded6dca1085f2d3.zip
Docs for Windows people, add paster to index.
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst1
-rw-r--r--docs/narr/install.rst59
2 files changed, 53 insertions, 7 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 56729bac8..edf40ae09 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -55,6 +55,7 @@ Per-module :mod:`repoze.bfg` API documentation.
api/events
api/interfaces
api/location
+ api/paster
api/push
api/router
api/scripting
diff --git a/docs/narr/install.rst b/docs/narr/install.rst
index 0117d1473..56f1e1826 100644
--- a/docs/narr/install.rst
+++ b/docs/narr/install.rst
@@ -24,13 +24,14 @@ run under Python 3.X.
BFG is known to run properly on all popular (and even some
less-popular) Unix-like systems such as Linux, MacOS X, and FreeBSD.
-At the time of this writing, ``repoze.bfg`` will run on Windows
-systems. None of its main developers use the Windows platform
-regularly, so it is not tested on Windows as well as it is on UNIX.
-Most of the platform-specific documentation (including this chapter)
-assumes you're installing it on a UNIX system.
-
-:mod:`repoze.bfg` is known to run on Google's App Engine. See
+``repoze.bfg`` runs on Windows systems. However, none of its main
+developers use the Windows platform. Therefor, most of the
+platform-specific documentation (excepting this chapter) assumes
+you're using a UNIX system. If you're using a Windows system, you'll
+need to transliterate command lines in the documentation to their
+Windows equivalents.
+
+:mod:`repoze.bfg` is also known to run on Google's App Engine. See
:ref:`appengine_tutorial`.
It is not known whether :mod:`repoze.bfg` will or will not run under
@@ -151,6 +152,50 @@ virtualenv (``bfgenv``) directory:
This command will take longer than the previous ones to complete, as it
downloads and installs a number of dependencies.
+Installing :mod:`repoze.bfg` on a Windows System
+-------------------------------------------------
+
+#. Install, or find `Python 2.5
+ <http://python.org/download/releases/2.5.4/>`_ for your system.
+
+#. Install latest `setuptools` into the Python you
+ obtained/installed/found in the step above: download `ez_setup.py
+ <http://peak.telecommunity.com/dist/ez_setup.py>`_ and run it using
+ the ``python`` interpreter of your Python 2.5 installation using a
+ command prompt:
+
+ .. code-block:: bash
+
+ c:\> c:\Python25\python ez_setup.py
+
+#. Use that Python's `bin/easy_install` to install `virtualenv`:
+
+ .. code-block:: bash
+
+ c:\> c:\Python25\Scripts\easy_install virtualenv
+
+#. Use that Python's virtualenv to make a workspace:
+
+ .. code-block:: bash
+
+ c:\> c:\Python25\Scripts\virtualenv --no-site-packages bfgenv
+
+#. Switch to the ``bfgenv`` directory:
+
+ .. code-block:: bash
+
+ c:\> cd bfgenv
+
+#. (Optional) Consider using ``bin\activate.bat`` to make your shell
+ environment wired to use the virtualenv.
+
+#. Use ``easy_install`` and point to the BFG "current index to get BFG
+ and its direct dependencies installed:
+
+ .. code-block:: bash
+
+ c:\bfgenv> Scripts/easy_install -i http://dist.repoze.org/bfg/current/simple repoze.bfg
+
What Gets Installed
~~~~~~~~~~~~~~~~~~~