Mercurial > hg > AuthRPC
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 |
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', |
0 | 11 'Programming Language :: Python :: 2.7', |
12 'Programming Language :: Python :: 3', | |
13 'Topic :: Software Development', | |
4 | 14 'Topic :: Internet :: WWW/HTTP :: WSGI'] |
15 | |
16 extra = {} | |
17 if platform.python_version().startswith('3'): | |
18 extra['use_2to3'] = True | |
0 | 19 |
15 | 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 | 23 install_requires = 'WebOb>=1.2b3', |
0 | 24 author = 'Ben Croston', |
25 author_email = 'ben@croston.org', | |
20 | 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 | 28 license = 'MIT', |
15 | 29 keywords = 'json, rpc, wsgi, auth', |
30 url = 'http://www.wyre-it.co.uk/authrpc/', | |
4 | 31 classifiers = classifiers, |
32 platforms = ['Any'], | |
15 | 33 test_suite = 'AuthRPC.tests.suite', |
4 | 34 **extra) |
0 | 35 |