From: Ben Darnell Date: Thu, 22 Jul 2010 22:15:37 +0000 (-0700) Subject: Set version number to 1.0 X-Git-Tag: v1.0.0^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5b3d8df7a305ac1ffa0a12c813e5d7ee4d6cd3;p=thirdparty%2Ftornado.git Set version number to 1.0 --- diff --git a/setup.py b/setup.py index 5cb69df2d..714bb498e 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ if "linux" in sys.platform.lower() and not python_26: distutils.core.setup( name="tornado", - version="0.2", + version="1.0", packages = ["tornado"], ext_modules = extensions, author="Facebook", diff --git a/tornado/web.py b/tornado/web.py index 646fe067b..f1e0871f9 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -140,7 +140,7 @@ class RequestHandler(object): def clear(self): """Resets all headers and content for this response.""" self._headers = { - "Server": "TornadoServer/0.1", + "Server": "TornadoServer/1.0", "Content-Type": "text/html; charset=UTF-8", } if not self.request.supports_http_1_1(): diff --git a/website/templates/documentation.txt b/website/templates/documentation.txt index 838721ab1..90738bbe0 100644 --- a/website/templates/documentation.txt +++ b/website/templates/documentation.txt @@ -52,12 +52,12 @@ Download -------- Download the most recent version of Tornado from GitHub: -> [tornado-0.2.tar.gz](http://github.com/downloads/facebook/tornado/tornado-0.2.tar.gz) +> [tornado-1.0.tar.gz](http://github.com/downloads/facebook/tornado/tornado-1.0.tar.gz) You can also [browse the source](http://github.com/facebook/tornado) on GitHub. To install Tornado: - tar xvzf tornado-0.2.tar.gz - cd tornado-0.2 + tar xvzf tornado-1.0.tar.gz + cd tornado-1.0 python setup.py build sudo python setup.py install diff --git a/website/templates/index.html b/website/templates/index.html index 0a7c42ee0..ed5348670 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -6,9 +6,9 @@

See the Tornado documentation for a detailed walkthrough of the framework.

Download and install

-

Download: tornado-0.2.tar.gz

-
tar xvzf tornado-0.2.tar.gz
-cd tornado-0.2
+  

Download: tornado-1.0.tar.gz

+
tar xvzf tornado-1.0.tar.gz
+cd tornado-1.0
 python setup.py build
 sudo python setup.py install

The Tornado source code is hosted on GitHub. On Python 2.6+, 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.