2009-09-09 05:15:18 +00:00
|
|
|
Tornado
|
|
|
|
=======
|
|
|
|
Tornado is an open source version of the scalable, non-blocking web server
|
2009-09-10 07:50:51 +00:00
|
|
|
and and tools that power FriendFeed. Documentation and downloads are
|
|
|
|
available at http://www.tornadoweb.org/
|
2009-09-09 05:15:18 +00:00
|
|
|
|
|
|
|
Tornado is licensed under the Apache Licence, Version 2.0
|
|
|
|
(http://www.apache.org/licenses/LICENSE-2.0.html).
|
|
|
|
|
2012-06-04 00:33:30 +00:00
|
|
|
Automatic installation
|
|
|
|
----------------------
|
2009-09-09 05:15:18 +00:00
|
|
|
|
2012-06-04 00:33:30 +00:00
|
|
|
Tornado is listed in PyPI and can be installed with pip or
|
|
|
|
easy_install. Note that the source distribution includes demo
|
|
|
|
applications that are not present when Tornado is installed in this
|
|
|
|
way, so you may wish to download a copy of the source tarball as well.
|
|
|
|
|
|
|
|
Manual installation
|
|
|
|
-------------------
|
|
|
|
|
2013-01-19 17:58:54 +00:00
|
|
|
Download the latest release from http://pypi.python.org/pypi/tornado
|
2012-06-04 00:33:30 +00:00
|
|
|
|
2013-01-19 17:58:54 +00:00
|
|
|
tar xvzf tornado-$VERSION.tar.gz
|
|
|
|
cd tornado-$VERSION
|
2009-09-09 05:15:18 +00:00
|
|
|
python setup.py build
|
|
|
|
sudo python setup.py install
|
|
|
|
|
2012-06-04 00:33:30 +00:00
|
|
|
The Tornado source code is hosted on GitHub: https://github.com/facebook/tornado
|
|
|
|
|
|
|
|
On Python 2.6 and 2.7, it is also possible to simply add the tornado
|
|
|
|
directory to your PYTHONPATH instead of building with setup.py, since
|
|
|
|
the standard library includes epoll support.
|
|
|
|
|
|
|
|
Prerequisites
|
|
|
|
-------------
|
2009-09-09 05:15:18 +00:00
|
|
|
|
2013-01-19 17:58:54 +00:00
|
|
|
Tornado runs on Python 2.6+ and 3.2+. Both CPython and PyPy are supported.
|
2009-09-09 05:15:18 +00:00
|
|
|
|
2013-01-19 17:58:54 +00:00
|
|
|
There are no required dependencies outside the Python standard library,
|
|
|
|
although unittest2 is required to run Tornado's unittest suite on
|
|
|
|
Python 2.6.
|
2009-09-09 05:15:18 +00:00
|
|
|
|
2013-01-19 17:58:54 +00:00
|
|
|
Certain optional features require additional third-party modules:
|
2009-09-09 05:15:18 +00:00
|
|
|
|
2013-01-19 17:58:54 +00:00
|
|
|
* tornado.curl_httpclient needs PycURL (version 7.18.2 or higher required;
|
|
|
|
version 7.21.1 or higher recommended)
|
|
|
|
* Multithreading support requires the concurrent.futures module,
|
|
|
|
which is in the standard library for Python 3.2+ and available
|
|
|
|
at http://pypi.python.org/pypi/futures for older versions.
|
2010-09-23 16:37:32 +00:00
|
|
|
|
2012-06-04 00:33:30 +00:00
|
|
|
Platforms
|
|
|
|
---------
|
2010-09-23 16:37:32 +00:00
|
|
|
|
2013-01-19 17:58:54 +00:00
|
|
|
Tornado should run on any Unix-like platform, although for the best
|
2012-06-04 00:33:30 +00:00
|
|
|
performance and scalability only Linux and BSD (including BSD
|
|
|
|
derivatives like Mac OS X) are recommended.
|