diff --git a/setup.py b/setup.py index 80849f2..0653a99 100644 --- a/setup.py +++ b/setup.py @@ -31,4 +31,7 @@ setup( keywords='weakref WeakMethod', tests_require=['unittest2'], test_suite='test_weakmethod', + extra_requires={ + 'test': ["tox"] + } ) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..de9bc3c --- /dev/null +++ b/tox.ini @@ -0,0 +1,8 @@ +[tox] +envlist = py26, py27, py32, py33 + +[testenv] +commands = + unit2 +deps = + unittest2 \ No newline at end of file