0
|
1 #!/usr/bin/env python
|
|
2 import distribute_setup
|
|
3 distribute_setup.use_setuptools()
|
|
4 from setuptools import setup, find_packages
|
1
|
5 import platform
|
0
|
6
|
|
7 classifiers = ['Development Status :: 3 - Alpha',
|
|
8 'Operating System :: Microsoft :: Windows',
|
|
9 'Operating System :: Unix',
|
|
10 "Operating System :: MacOS :: MacOS X",
|
|
11 'License :: OSI Approved :: MIT License',
|
|
12 'Programming Language :: Python :: 2.7',
|
|
13 'Programming Language :: Python :: 3',
|
|
14 'Topic :: Software Development',
|
|
15 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
|
|
16 'Topic :: Internet :: WWW/HTTP :: HTTP Servers']
|
|
17
|
|
18 if platform.python_version().startswith('2'):
|
|
19 # python 2.x
|
1
|
20 packages = find_packages()
|
0
|
21 install_requires = ['webob>=1.0.0']
|
|
22 else:
|
|
23 # assume python 3.x
|
1
|
24 packages = find_packages(exclude=['wibble.server'])
|
0
|
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
|