annotate setup.py @ 30:a99009a7013c 0.3.1a

- Use generator with __getfile__ (uses much less memory) - Fixed security issue with __getfile__ - do not allow access to whole disk! - Handle exceptions in auth function - Fixed encrypting of no password - Changed README code examples
author Ben Croston <ben@croston.org>
date Thu, 05 Apr 2012 20:45:56 +0100
parents bea0c77734ca
children fdddfd434bbd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
1 #!/usr/bin/env python
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
2 import distribute_setup
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
3 distribute_setup.use_setuptools()
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
4 from setuptools import setup, find_packages
1
Ben Croston <ben@croston.org>
parents: 0
diff changeset
5 import platform
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
6
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
7 classifiers = ['Development Status :: 3 - Alpha',
4
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
8 'Operating System :: OS Independent',
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
9 'License :: OSI Approved :: MIT License',
4
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
10 'Intended Audience :: Developers',
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
11 'Programming Language :: Python :: 2.7',
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
12 'Programming Language :: Python :: 3',
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
13 'Topic :: Software Development',
4
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
14 'Topic :: Internet :: WWW/HTTP :: WSGI']
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
15
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
16 extra = {}
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
17 if platform.python_version().startswith('3'):
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
18 extra['use_2to3'] = True
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
19
15
3c19ae16fc7a Renamed to AuthRPC
Ben Croston <ben@croston.org>
parents: 8
diff changeset
20 setup(name = 'AuthRPC',
30
a99009a7013c - Use generator with __getfile__ (uses much less memory)
Ben Croston <ben@croston.org>
parents: 28
diff changeset
21 version = '0.3.1a',
22
9459d63c1558 Added full support for Python 3
Ben Croston <ben@croston.org>
parents: 20
diff changeset
22 packages = find_packages(),
28
bea0c77734ca Changed/renamed exceptions
Ben Croston <ben@croston.org>
parents: 26
diff changeset
23 install_requires = 'WebOb>=1.2b3',
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
24 author = 'Ben Croston',
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
25 author_email = 'ben@croston.org',
20
4b62687da58a Added batch requests
Ben Croston <ben@croston.org>
parents: 17
diff changeset
26 description = 'A JSONRPC-like client and server with additions to enable authenticated requests',
22
9459d63c1558 Added full support for Python 3
Ben Croston <ben@croston.org>
parents: 20
diff changeset
27 long_description = open('README.txt').read() + open('CHANGELOG.txt').read(),
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
28 license = 'MIT',
15
3c19ae16fc7a Renamed to AuthRPC
Ben Croston <ben@croston.org>
parents: 8
diff changeset
29 keywords = 'json, rpc, wsgi, auth',
3c19ae16fc7a Renamed to AuthRPC
Ben Croston <ben@croston.org>
parents: 8
diff changeset
30 url = 'http://www.wyre-it.co.uk/authrpc/',
4
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
31 classifiers = classifiers,
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
32 platforms = ['Any'],
15
3c19ae16fc7a Renamed to AuthRPC
Ben Croston <ben@croston.org>
parents: 8
diff changeset
33 test_suite = 'AuthRPC.tests.suite',
4
ad5a8748afcf Add test framework
Ben Croston <ben@croston.org>
parents: 3
diff changeset
34 **extra)
0
6a61cfdf6930 Initial version
Ben Croston <ben@croston.org>
parents:
diff changeset
35