diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 27563d7c..8f72119d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ We are more than happy to receive pull requests helping us improve the state of Tests live under the `test/` folder. They can be run by running the following command: ``` -$ python setup.py test +$ pytest ``` They can also be run as a part of `tox` and they should be ran in a virtual environment to ensure isolation of the testing environment. diff --git a/setup.py b/setup.py index fa698f1a..81404608 100644 --- a/setup.py +++ b/setup.py @@ -20,17 +20,6 @@ with open('requirements.txt') as f: # pylint: disable=W1514 install_reqs += f.read().splitlines() -setup_requires = [ - 'pytest-runner == 5.3.2', -] - -# WARNING: This imposes limitations on test/requirements.txt such that the -# full Pip syntax is not supported. See also -# . -test_reqs = [] -with open('test/requirements.txt') as f: # pylint: disable=W1514 - test_reqs += f.read().splitlines() - with open('README.rst') as f: # pylint: disable=W1514 README = f.read() @@ -38,8 +27,6 @@ name='stone', version='3.3.9', install_requires=install_reqs, - setup_requires=setup_requires, - tests_require=test_reqs, entry_points={ 'console_scripts': ['stone=stone.cli:main'], },