# HG changeset patch # User Gustavo Picon # Date 1271027181 18000 # Node ID be60873968b24a7cb99cc698a171ecad06d71996 # Parent aedd8bfa240b58e564603ae667f350c18c6dfb6e adding 2.4-3.1 compatibility to setup.py diff -r aedd8bfa240b58e564603ae667f350c18c6dfb6e -r be60873968b24a7cb99cc698a171ecad06d71996 setup.py --- a/setup.py Sun Apr 11 16:29:33 2010 -0500 +++ b/setup.py Sun Apr 11 18:06:21 2010 -0500 @@ -10,12 +10,21 @@ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", + "Programming Language :: Python :: 2.4", + "Programming Language :: Python :: 2.5", + "Programming Language :: Python :: 2.6", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.0", + "Programming Language :: Python :: 3.1", "Operating System :: OS Independent", "Topic :: Software Development :: Libraries", ] root_dir = os.path.dirname(__file__) -long_desc = open((root_dir if root_dir else '.') + '/README').read() +if not root_dir: + root_dir = '.' +long_desc = open(root_dir + '/README').read() setup( name='numconv',