diff --git a/setup.py b/setup.py index 7e99bb8d..c422b797 100755 --- a/setup.py +++ b/setup.py @@ -13,6 +13,11 @@ zip_safe=False, include_package_data=True, platforms='any', + test_suite = 'nose.collector', + setup_requires=[ + 'nose>=1.1.2', + 'mock>=0.8', + ], install_requires=[ 'Flask>=0.8', 'pycrypto>=2.6', diff --git a/tests/README.md b/tests/README.md index a7a76fd7..e8221ba9 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,5 +1,5 @@ # Running the tests -Go up a directory and run: +Go to main directory and type: - $ make test + python2 setup.py test diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/requirements.txt b/tests/requirements.txt deleted file mode 100644 index 45286cf6..00000000 --- a/tests/requirements.txt +++ /dev/null @@ -1,4 +0,0 @@ -mock>=0.8 -nose>=1.1.2 -flask>=0.8 -pycrypto>=2.6