git.fiddlerwoaroof.com
Browse code

Made command line usage more sane and added some metadata to setup.py

Ed L authored on 17/06/2011 21:20:01
Showing 2 changed files
... ...
@@ -3,7 +3,9 @@ from distutils.core import setup
3 3
 VERSION = "0.99a01"
4 4
 URLBASE = "https://github.com/NCMI/jsonrpc"
5 5
 URLMAP = {
6
-	"daily": "tarball/master"
6
+	"daily": "tarball/master",
7
+	"0.99a01": "0.99a",
8
+	"0.99a02": "tarball/0.99a2",
7 9
 }
8 10
 
9 11
 if __name__ == "__main__":
... ...
@@ -14,9 +16,22 @@ if __name__ == "__main__":
14 16
 		author='Edward Langley',
15 17
 		author_email='langleyedward@gmail.com',
16 18
 		url='https://github.com/NCMI/jsonrpc',
17
-		download_url="https://github.com/NCMI/jsonrpc/tarball/master",
19
+		download_url=URLMAP.get(VERSION, URLMAP['daily']),
18 20
 		packages=[
19 21
 			'jsonrpc'
20 22
 			],
21
-		scripts=[]
23
+		scripts=[],
24
+		license= 'BSD 2.0',
25
+		keywords = ['JSON', 'jsonrpc', 'rpc'],
26
+		classifiers = [
27
+			'Development Status :: 4 - Beta',
28
+			'Environment :: Web Environment',
29
+			'Framework :: Twisted',
30
+			'Intended Audience :: Developers',
31
+			'License :: OSI Approved :: BSD License',
32
+			'Operating System :: OS Independent',
33
+			'Programming Language :: Python :: 2.6',
34
+			'Programming Language :: Python :: 2.7',
35
+			'Topic :: Software Development :: Libraries :: Python Modules',
36
+		]
22 37
 		)