]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Add prerequisites to Tornado docs
authorBret Taylor <btaylor@gmail.com>
Thu, 10 Sep 2009 16:29:49 +0000 (09:29 -0700)
committerBret Taylor <btaylor@gmail.com>
Thu, 10 Sep 2009 16:29:49 +0000 (09:29 -0700)
website/templates/documentation.txt

index f7c0a0f0d25a641b681869e1864c51a2a5752d11..5353be98c76de3ab9d786a621de1a6d032709ad1 100644 (file)
@@ -54,9 +54,7 @@ Download the most recent version of Tornado from GitHub:
 
 > [tornado-0.1.tar.gz](/static/tornado-0.1.tar.gz)
 
-You can also [browse the source](http://github.com/facebook/tornado) on GitHub.
-
-To install Tornado:
+You can also [browse the source](http://github.com/facebook/tornado) on GitHub. To install Tornado:
 
     tar xvzf tornado-1.0.tar.gz
     cd tornado-1.0
@@ -68,6 +66,18 @@ directory included with the Tornado package.
 
     ./demos/helloworld/helloworld.py
 
+### Prerequisites
+
+Tornado has been tested on Python 2.5 and 2.6. To use all of the features of Tornado, you need to have [PycURL](http://pycurl.sourceforge.net/) and a JSON library like [simplejson](http://pypi.python.org/pypi/simplejson/) installed. Complete installation instructions for Mac OS X and Ubuntu are included below for convenience.
+
+**Mac OS X 10.5/10.6**
+
+    sudo easy_install setuptools pycurl==7.16.2.1 simplejson
+
+**Ubuntu Linux**
+
+    sudo apt-get install python-pycurl python-simplejson
+
 
 Module index
 ------------