From 68b5abc88137e2eb53c94121a1161d499bbc604c Mon Sep 17 00:00:00 2001 From: benoitc Date: Wed, 24 Oct 2012 11:33:25 +0200 Subject: [PATCH] some setup enhancements preparing the python 3 release --- setup.py | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/setup.py b/setup.py index 567260cf..37feeb61 100644 --- a/setup.py +++ b/setup.py @@ -10,38 +10,42 @@ import sys from gunicorn import __version__ +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Environment :: Other Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Operating System :: MacOS :: MacOS X', + 'Operating System :: POSIX', + 'Programming Language :: Python', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Topic :: Internet', + 'Topic :: Utilities', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Internet :: WWW/HTTP :: WSGI', + 'Topic :: Internet :: WWW/HTTP :: WSGI :: Server', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content'] + +# read long description +with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: + long_description = f.read() + setup( name = 'gunicorn', version = __version__, description = 'WSGI HTTP Server for UNIX', - long_description = file( - os.path.join( - os.path.dirname(__file__), - 'README.rst' - ) - ).read(), + long_description = long_description, author = 'Benoit Chesneau', author_email = 'benoitc@e-engura.com', license = 'MIT', url = 'http://gunicorn.org', - classifiers = [ - 'Development Status :: 4 - Beta', - 'Environment :: Other Environment', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Operating System :: MacOS :: MacOS X', - 'Operating System :: POSIX', - 'Programming Language :: Python', - 'Topic :: Internet', - 'Topic :: Utilities', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Internet :: WWW/HTTP :: WSGI', - 'Topic :: Internet :: WWW/HTTP :: WSGI :: Server', - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', - ], + classifiers = CLASSIFIERS, zip_safe = False, packages = find_packages(exclude=['examples', 'tests']), include_package_data = True, @@ -66,6 +70,5 @@ setup( [paste.server_runner] main=gunicorn.app.pasterapp:paste_server - """, - test_suite = 'nose.collector', + """ )