fix version handling

This commit is contained in:
Benoit Chesneau 2010-02-09 23:05:12 +01:00
parent 3e20e11e39
commit f071e7d4e1
3 changed files with 6 additions and 4 deletions

View File

@ -4,4 +4,4 @@
# See the NOTICE for more information.
__version__ = "0.4.1"
__version__ = "0.4.2"

View File

@ -12,7 +12,7 @@ import re
import sys
from gunicorn.arbiter import Arbiter
from gunicorn import util
from gunicorn import util, __version__
__usage__ = "%prog [OPTIONS] [APP_MODULE]"
@ -85,7 +85,7 @@ def daemonize():
def main(usage, get_app):
parser = op.OptionParser(usage=usage, option_list=options(),
version="%prog 0.4.1")
version="%prog " + __version__)
opts, args = parser.parse_args()
configure_logging(opts)

View File

@ -7,9 +7,11 @@
import os
from setuptools import setup, find_packages
from gunicorn import __version__
setup(
name = 'gunicorn',
version = '0.4.2',
version = __version__,
description = 'WSGI HTTP Server for UNIX',
long_description = file(