X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=setup.py;h=f63cc23c5291046114edef840d88f03959eb2145;hb=76c6d3deb39045eec4bf11d189892485e8a9c454;hp=bf772f32a0220a8f90bd518f09c10e46df02e2c6;hpb=1278ef65bd3422c0684007535742c3ef28d645ef;p=nfvbench.git diff --git a/setup.py b/setup.py index bf772f3..f63cc23 100644 --- a/setup.py +++ b/setup.py @@ -13,27 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -from setuptools.command.test import test -from setuptools import setup -import sys +# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT +import setuptools - -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)