X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=python%2Fsetup.py;h=49c8c4e6feb6f07e363a7f0dbbc0abbb3748357e;hb=f76def2592cc5cb449a3360430ee9cc0f208765d;hp=889d21594203b9f85d039ecc779ebabb46cffdba;hpb=f2d371f7f6e765d8e97a3bd31fffa8197bd45fe2;p=cascardo%2Fovs.git diff --git a/python/setup.py b/python/setup.py index 889d21594..49c8c4e6f 100644 --- a/python/setup.py +++ b/python/setup.py @@ -19,7 +19,7 @@ VERSION = "unknown" try: # Try to set the version from the generated ovs/version.py - execfile("ovs/version.py") + exec(open("ovs/version.py").read()) except IOError: print("Ensure version.py is created by running make python/ovs/version.py", file=sys.stderr) @@ -41,6 +41,10 @@ setuptools.setup( 'Topic :: Database :: Front-Ends', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Networking', - 'License :: OSI Approved :: Apache Software License' + 'License :: OSI Approved :: Apache Software License', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', ] )