summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorPiet Delport <pjdelport@gmail.com>2012-08-19 22:49:22 +0200
committerPiet Delport <pjdelport@gmail.com>2012-08-19 22:49:22 +0200
commita6e30fad53437c7c04f02069b25729f008b9b76b (patch)
tree1e40d4310127fb6c8515133f2d8c24a40c717432 /setup.py
parent26d1b65a8c656c5c2d77b8c05620a47e15be996d (diff)
downloadtox-a6e30fad53437c7c04f02069b25729f008b9b76b.tar.gz
(pep8)
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 5c7c963..63acabf 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
-long_description="""
+long_description = """
What is Tox?
==========================
@@ -26,20 +26,23 @@ For more information, docs and many examples please checkout the `home page`_:
.. _`home page`: http://tox.testrun.org/
"""
+
class Tox(TestCommand):
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
tox.cmdline(self.test_args)
+
def main():
version = sys.version_info[:2]
install_requires = ['virtualenv>=1.7', 'py>=1.4.9', ]
- if version < (2,7) or (3,0) <= version <= (3,1):
+ if version < (2, 7) or (3, 0) <= version <= (3, 1):
install_requires += ['argparse']
setup(
name='tox',