Mercurial > hg > AuthRPC
comparison setup.py @ 0:6a61cfdf6930
Initial version
author | Ben Croston <ben@croston.org> |
---|---|
date | Tue, 30 Aug 2011 22:19:48 +0100 |
parents | |
children | 317e6f82c733 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6a61cfdf6930 |
---|---|
1 #!/usr/bin/env python | |
2 import distribute_setup | |
3 distribute_setup.use_setuptools() | |
4 from setuptools import setup, find_packages | |
5 | |
6 classifiers = ['Development Status :: 3 - Alpha', | |
7 'Operating System :: Microsoft :: Windows', | |
8 'Operating System :: Unix', | |
9 "Operating System :: MacOS :: MacOS X", | |
10 'License :: OSI Approved :: MIT License', | |
11 'Programming Language :: Python :: 2.7', | |
12 'Programming Language :: Python :: 3', | |
13 'Topic :: Software Development', | |
14 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', | |
15 'Topic :: Internet :: WWW/HTTP :: HTTP Servers'] | |
16 | |
17 import platform | |
18 if platform.python_version().startswith('2'): | |
19 # python 2.x | |
20 packages = ['wibble.client','wibble.server'] | |
21 install_requires = ['webob>=1.0.0'] | |
22 else: | |
23 # assume python 3.x | |
24 packages = ['wibble.client'] | |
25 install_requires = [] | |
26 | |
27 setup(name = 'Wibble', | |
28 version = '0.0.1a', | |
29 packages = packages, | |
30 install_requires = install_requires, | |
31 author = 'Ben Croston', | |
32 author_email = 'ben@croston.org', | |
33 description = 'Stick two pencils up your nose, underpants on your head then run this module.', | |
34 long_description = open('README.txt').read(), | |
35 license = 'MIT', | |
36 keywords = 'jsonrpc', | |
37 url = 'http://www.wyre-it.co.uk/wibble/', | |
38 classifiers = classifiers, | |
39 use_2to3 = True) | |
40 |