ovsdb-server: Fix a reference count leak bug
[cascardo/ovs.git] / python / setup.py
index 889d215..49c8c4e 100644 (file)
@@ -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',
     ]
 )