From 92a0a2582de6c572bf0399c1070bc77aa6bc2723 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Wed, 3 Feb 2010 15:02:05 +0100 Subject: [PATCH] bump version number and add it to usage --- gunicorn/http/__init__.py | 4 +++- gunicorn/main.py | 3 ++- setup.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gunicorn/http/__init__.py b/gunicorn/http/__init__.py index eac09ac3..dcbceff4 100644 --- a/gunicorn/http/__init__.py +++ b/gunicorn/http/__init__.py @@ -7,4 +7,6 @@ from gunicorn.http.parser import Parser from gunicorn.http.request import Request, RequestError from gunicorn.http.response import Response -__all__ = [Parser, Request, RequestError, Response] \ No newline at end of file +__all__ = [Parser, Request, RequestError, Response] + +__version__ = '0.4' \ No newline at end of file diff --git a/gunicorn/main.py b/gunicorn/main.py index 335aee1e..922e6b56 100644 --- a/gunicorn/main.py +++ b/gunicorn/main.py @@ -84,7 +84,8 @@ def daemonize(): os.dup2(0, 2) def main(usage, get_app): - parser = op.OptionParser(usage=usage, option_list=options()) + parser = op.OptionParser(usage=usage, option_list=options(), + version="%prog 0.4") opts, args = parser.parse_args() configure_logging(opts) diff --git a/setup.py b/setup.py index 4f629b4d..0881d13e 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ from setuptools import setup, find_packages setup( name = 'gunicorn', - version = '0.3.2', + version = '0.4', description = 'WSGI HTTP Server for UNIX', long_description = file(