fix license for modern pip
authorrobin <robin@reportlab.com>
Wed, 22 May 2019 12:47:28 +0100
changeset 65 f4ed1dc7b03e
parent 64 eb1883176801
child 66 c0d10f5c589a
fix license for modern pip
setup.py
--- a/setup.py	Tue Jul 17 14:09:09 2018 +0100
+++ b/setup.py	Wed May 22 12:47:28 2019 +0100
@@ -60,6 +60,8 @@
 								),
 					]
 
+	with open('LICENSE.txt','r') as _:
+		license = _.read()
 	setup(	name = "pyRXP",
 			version = VERSION,
 			description = "Python RXP interface - fast validating XML parser",
@@ -67,7 +69,7 @@
 			author_email = "robin@reportlab.com",
 			url = "http://www.reportlab.com",
 			packages = [],
-			licence=open('LICENSE.txt','r').read(),
+			license=open('LICENSE.txt','r').read(),
 			ext_modules = EXT_MODULES,
 			package_data = {'': ['pyRXP-license.txt']},
 			#license = open(os.path.join('rxp','COPYING')).read(),