-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
39 lines (37 loc) · 1.02 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from distutils.core import setup
VERSION = "1.2"
URLBASE = "https://github.com/NCMI/jsonrpc"
URLMAP = {
"daily": "tarball/master",
"0.99a01": "tarball/0.99a",
"0.99a02": "tarball/0.99a02",
"1.1": "tarball/1.1",
"1.2": "tarball/1.2",
}
if __name__ == "__main__":
setup(
name='jsonrpc',
version=VERSION,
description='A JSON-RPC 2.0 client-server library',
author='Edward Langley',
author_email='[email protected]',
url=URLBASE,
download_url='/'.join([URLBASE, URLMAP.get(VERSION, URLMAP['daily'])]),
packages=[
'jsonrpc'
],
scripts=[],
license= 'BSD 2.0',
keywords = ['JSON', 'jsonrpc', 'rpc'],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Twisted',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)