From 0f798d1ac7facf9b16a8c39ea66407dd86174876 Mon Sep 17 00:00:00 2001 From: Patrik Dufresne Date: Thu, 15 Feb 2018 16:20:42 -0500 Subject: [PATCH] Remove tox command line from setup.py --- setup.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/setup.py b/setup.py index 6490d981..23d460a2 100644 --- a/setup.py +++ b/setup.py @@ -156,28 +156,6 @@ class build(build_): sub_commands.insert(0, ('compile_all_catalogs', None)) -class tox(TestCommand): - user_options = [('tox-args=', 'a', "Arguments to pass to tox")] - - def initialize_options(self): - TestCommand.initialize_options(self) - self.tox_args = None - - def finalize_options(self): - TestCommand.finalize_options(self) - self.test_args = [] - self.test_suite = True - - def run_tests(self): - # import here, cause outside the eggs aren't loaded - import tox - import shlex - args = self.tox_args - if args: - args = shlex.split(self.tox_args) - errno = tox.cmdline(args=args) - sys.exit(errno) - # Compute requirements install_requires = [ "CherryPy>=3.2.2", @@ -218,7 +196,6 @@ setup( 'build': build, 'compile_all_catalogs': compile_all_catalogs, 'build_less': build_less, - 'tox': tox, }, install_requires=install_requires, # required packages for build process -- GitLab