Adding tox support for testing across Python versions.

This commit is contained in:
Bryan Worrell 2015-12-01 12:05:25 -05:00
parent 1d45da9e85
commit e1539bff08
2 changed files with 11 additions and 0 deletions

@ -31,4 +31,7 @@ setup(
keywords='weakref WeakMethod',
tests_require=['unittest2'],
test_suite='test_weakmethod',
extra_requires={
'test': ["tox"]
}
)

8
tox.ini Normal file

@ -0,0 +1,8 @@
[tox]
envlist = py26, py27, py32, py33
[testenv]
commands =
unit2
deps =
unittest2