Commit 0f798d1a authored by Patrik Dufresne's avatar Patrik Dufresne

Remove tox command line from setup.py

parent 98e23cff
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment