Mercurial > hg > AuthRPC
view setup.py @ 2:c7a236de5214
-
author | Ben Croston <ben@croston.org> |
---|---|
date | Tue, 30 Aug 2011 23:37:53 +0100 |
parents | 317e6f82c733 |
children | 43595981978d |
line wrap: on
line source
#!/usr/bin/env python import distribute_setup distribute_setup.use_setuptools() from setuptools import setup, find_packages import platform classifiers = ['Development Status :: 3 - Alpha', 'Operating System :: Microsoft :: Windows', 'Operating System :: Unix', "Operating System :: MacOS :: MacOS X", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Software Development', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: HTTP Servers'] if platform.python_version().startswith('2'): # python 2.x packages = find_packages() install_requires = ['webob>=1.0.0'] else: # assume python 3.x packages = find_packages(exclude=['wibble.server']) install_requires = [] setup(name = 'Wibble', version = '0.0.1a', packages = packages, install_requires = install_requires, author = 'Ben Croston', author_email = 'ben@croston.org', description = 'Stick two pencils up your nose, underpants on your head then run this module.', long_description = open('README.txt').read(), license = 'MIT', keywords = 'jsonrpc', url = 'http://www.wyre-it.co.uk/wibble/', classifiers = classifiers, use_2to3 = True)