diff options
| author | Tom Christie | 2014-12-18 10:58:08 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-12-18 10:58:08 +0000 |
| commit | 6909e92d22520fa9717507e9b9bd7db8601c17cd (patch) | |
| tree | b199339ed0301070149c2d93b59a31ad5d8710e3 /setup.py | |
| parent | d8803a35bd2dc8cbf4c892f68b48c72f24e83916 (diff) | |
| download | django-rest-framework-6909e92d22520fa9717507e9b9bd7db8601c17cd.tar.bz2 | |
Drop 'setup.py test'. Just use 'runtests.py'.
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -8,20 +8,6 @@ import os import sys -# This command has been borrowed from -# https://github.com/getsentry/sentry/blob/master/setup.py -class PyTest(TestCommand): - def finalize_options(self): - TestCommand.finalize_options(self) - self.test_args = ['tests'] - self.test_suite = True - - def run_tests(self): - import pytest - errno = pytest.main(self.test_args) - sys.exit(errno) - - def get_version(package): """ Return package version as listed in `__version__` in `init.py`. @@ -80,7 +66,6 @@ setup( author_email='tom@tomchristie.com', # SEE NOTE BELOW (*) packages=get_packages('rest_framework'), package_data=get_package_data('rest_framework'), - cmdclass={'test': PyTest}, install_requires=[], classifiers=[ 'Development Status :: 5 - Production/Stable', |
