Cleanup requirements & tox config, update pylint
[nfvbench.git] / setup.py
index 36eead0..f63cc23 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # limitations under the License.
 
 # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
+import setuptools
 
-from setuptools.command.test import test
-from setuptools import setup
-import sys
-
-
-class Tox(test):
-    def initialize_options(self):
-        test.initialize_options(self)
-        self.tox_args = None
-
-    def finalize_options(self):
-        test.finalize_options(self)
-        self.test_args = []
-        self.test_suite = True
-
-    def run_tests(self):
-        import tox
-        sys.exit(tox.cmdline())
-
-
-if __name__ == '__main__':
-    setup(setup_requires=['pbr'], pbr=True,
-          tests_require=['tox'],
-          cmdclass={'test': Tox})
+setuptools.setup(
+    setup_requires=['pbr>=2.0.0'],
+    pbr=True)