Mercurial > hg > AuthRPC
comparison setup.py @ 8:685479d1f0a7
Tests available for both py2 and py3
author | Ben Croston <ben@croston.org> |
---|---|
date | Sun, 04 Sep 2011 23:37:41 +0100 |
parents | ad5a8748afcf |
children | 3c19ae16fc7a |
comparison
equal
deleted
inserted
replaced
7:3a6f3193cc7d | 8:685479d1f0a7 |
---|---|
19 extra = {} | 19 extra = {} |
20 | 20 |
21 if platform.python_version().startswith('2'): | 21 if platform.python_version().startswith('2'): |
22 # we can build server with python 2 | 22 # we can build server with python 2 |
23 install_requires.append('webob>=1.0.0') | 23 install_requires.append('webob>=1.0.0') |
24 extra['test_suite'] = 'wibble.tests.suite' | |
25 | 24 |
26 if platform.python_version().startswith('3'): | 25 if platform.python_version().startswith('3'): |
27 # we can't build server with python 3 | 26 # we can't build server with python 3 |
28 exclude.append('wibble.server') | 27 exclude.append('wibble.server') |
29 extra['use_2to3'] = True | 28 extra['use_2to3'] = True |
39 license = 'MIT', | 38 license = 'MIT', |
40 keywords = 'jsonrpc', | 39 keywords = 'jsonrpc', |
41 url = 'http://www.wyre-it.co.uk/wibble/', | 40 url = 'http://www.wyre-it.co.uk/wibble/', |
42 classifiers = classifiers, | 41 classifiers = classifiers, |
43 platforms = ['Any'], | 42 platforms = ['Any'], |
43 test_suite = 'wibble.tests.suite', | |
44 **extra) | 44 **extra) |
45 | 45 |