| @@ -5,7 +5,7 @@ env: | |||||
| - TOX_ENV=docs | - TOX_ENV=docs | ||||
| - TOX_ENV=flake8 | - TOX_ENV=flake8 | ||||
| install: | install: | ||||
| - pip install tox pytest | |||||
| - pip install tox | |||||
| script: | script: | ||||
| - tox -e $TOX_ENV | - tox -e $TOX_ENV | ||||
| @@ -18,6 +18,14 @@ long_description = """WSDL parsing services package for Web Services for Python. | |||||
| from src.wstools.version import __version__ | from src.wstools.version import __version__ | ||||
| install_requires = [ | |||||
| 'docutils' | |||||
| ] | |||||
| test_requires = [ | |||||
| 'nose' | |||||
| ] | |||||
| setup( | setup( | ||||
| name="wstools", | name="wstools", | ||||
| version=__version__, | version=__version__, | ||||
| @@ -29,5 +37,6 @@ setup( | |||||
| packages=['wstools'], | packages=['wstools'], | ||||
| package_dir={'': 'src'}, | package_dir={'': 'src'}, | ||||
| include_package_data=True, | include_package_data=True, | ||||
| install_requires=['docutils'], | |||||
| install_requires=install_requires, | |||||
| tests_require=test_requires, | |||||
| ) | ) | ||||
| @@ -3,10 +3,8 @@ minversion = 1.3 | |||||
| envlist = py26,py27,docs,flake8 | envlist = py26,py27,docs,flake8 | ||||
| [testenv] | [testenv] | ||||
| deps= | |||||
| pytest | |||||
| commands= | |||||
| nosetests | |||||
| deps=nose | |||||
| commands=nosetests | |||||
| [testenv:py26] | [testenv:py26] | ||||
| @@ -17,12 +15,10 @@ downloadcache={toxworkdir}/downloadcache | |||||
| basepython=python2.7 | basepython=python2.7 | ||||
| changedir=doc | changedir=doc | ||||
| deps=sphinx | deps=sphinx | ||||
| commands= | |||||
| sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html | |||||
| commands=sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html | |||||
| [testenv:flake8] | [testenv:flake8] | ||||
| basepython=python2.7 | basepython=python2.7 | ||||
| deps=flake8 | deps=flake8 | ||||
| commands= | |||||
| flake8 djohno | |||||
| commands=flake8 djohno | |||||