Mercurial > hg > AuthRPC
annotate setup.py @ 13:21eb67081c43
Added docstrings
author | Ben Croston <ben@croston.org> |
---|---|
date | Mon, 05 Sep 2011 12:42:05 +0100 |
parents | 685479d1f0a7 |
children | 3c19ae16fc7a |
rev | line source |
---|---|
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', | |
4 | 8 'Operating System :: OS Independent', |
0 | 9 'License :: OSI Approved :: MIT License', |
4 | 10 'Intended Audience :: Developers', |
11 'Programming Language :: Python :: 2.6', | |
0 | 12 'Programming Language :: Python :: 2.7', |
13 'Programming Language :: Python :: 3', | |
14 'Topic :: Software Development', | |
4 | 15 'Topic :: Internet :: WWW/HTTP :: WSGI'] |
16 | |
17 install_requires = [] | |
18 exclude = [] | |
19 extra = {} | |
0 | 20 |
21 if platform.python_version().startswith('2'): | |
4 | 22 # we can build server with python 2 |
23 install_requires.append('webob>=1.0.0') | |
24 | |
25 if platform.python_version().startswith('3'): | |
26 # we can't build server with python 3 | |
27 exclude.append('wibble.server') | |
28 extra['use_2to3'] = True | |
0 | 29 |
30 setup(name = 'Wibble', | |
31 version = '0.0.1a', | |
4 | 32 packages = find_packages(exclude=exclude), |
0 | 33 install_requires = install_requires, |
34 author = 'Ben Croston', | |
35 author_email = 'ben@croston.org', | |
36 description = 'Stick two pencils up your nose, underpants on your head then run this module.', | |
37 long_description = open('README.txt').read(), | |
38 license = 'MIT', | |
39 keywords = 'jsonrpc', | |
4 | 40 url = 'http://www.wyre-it.co.uk/wibble/', |
41 classifiers = classifiers, | |
42 platforms = ['Any'], | |
8
685479d1f0a7
Tests available for both py2 and py3
Ben Croston <ben@croston.org>
parents:
4
diff
changeset
|
43 test_suite = 'wibble.tests.suite', |
4 | 44 **extra) |
0 | 45 |