diff --git a/setup.py b/setup.py index 44fff5f..67365a2 100644 --- a/setup.py +++ b/setup.py @@ -114,9 +114,6 @@ setup( install_requires = [ 'BeautifulSoup', ], - tests_require = [ - 'Django', 'BeautifulSoup', - ], classifiers = [ 'Development Status :: 4 - Beta', 'Framework :: Django', @@ -126,6 +123,5 @@ setup( 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', ], - test_suite='compressor.tests.runtests.runtests', zip_safe = False, ) diff --git a/tox.ini b/tox.ini index b30ddcc..e6fa208 100644 --- a/tox.ini +++ b/tox.ini @@ -2,51 +2,69 @@ distribute=false sitepackages=true commands = - python setup.py test + python compressor/tests/runtests.py [testenv:py25-1.1.X] basepython = python2.5 deps = + BeautifulSoup + html5lib django==1.1.4 [testenv:py26-1.1.X] basepython = python2.6 deps = + BeautifulSoup + html5lib django==1.1.4 [testenv:py27-1.1.X] basepython = python2.7 deps = + BeautifulSoup + html5lib django==1.1.4 [testenv:py25-1.2.X] basepython = python2.5 deps = + BeautifulSoup + html5lib django==1.2.5 [testenv:py26-1.2.X] basepython = python2.6 deps = + BeautifulSoup + html5lib django==1.2.5 [testenv:py27-1.2.X] basepython = python2.7 deps = + BeautifulSoup + html5lib django==1.2.5 [testenv:py25-1.3.X] basepython = python2.5 deps = + BeautifulSoup + html5lib django==1.3 [testenv:py26-1.3.X] basepython = python2.6 deps = + BeautifulSoup + html5lib django==1.3 [testenv:py27-1.3.X] basepython = python2.7 deps = + BeautifulSoup + html5lib django==1.3