diff --git a/setup.cfg b/setup.cfg index 20ded4f..b0c314f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,4 +4,8 @@ build-dir = docs/build all_files = 1 [upload_sphinx] -upload-dir = docs/build/html \ No newline at end of file +upload-dir = docs/build/html + +[nosetests] +verbosity = 2 +tests = tests/run.py diff --git a/setup.py b/setup.py index a574468..b88719f 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,8 @@ data_files=[('ghost', ['README.rst',])], packages=find_packages(), include_package_data=True, + tests_require=['Flask'], + test_suite='tests.run', zip_safe=False, platforms='any', classifiers=[ diff --git a/tests/requirements.txt b/tests/requirements.txt deleted file mode 100644 index e3e9a71..0000000 --- a/tests/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -Flask diff --git a/tox.ini b/tox.ini index c13c412..776acd5 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,6 @@ setenv = passenv = DISPLAY deps = pyside: PySide - Flask nose commands = - nosetests {posargs} {toxinidir}/tests/run.py + {envpython} ./setup.py nosetests {posargs}