From eb5b3d8df7a305ac1ffa0a12c813e5d7ee4d6cd3 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Thu, 22 Jul 2010 15:15:37 -0700 Subject: [PATCH] Set version number to 1.0 --- setup.py | 2 +- tornado/web.py | 2 +- website/templates/documentation.txt | 6 +++--- website/templates/index.html | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) 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.

-- 2.47.2