diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-02-16 16:12:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-17 01:12:54 +0100 |
commit | 6c0762212309cba92715a23fd80652c6330fd60e (patch) | |
tree | 816a9a9869bc085e8d21b30b0822c053038fd6e9 /setup.py | |
parent | 766541fe9501373eea1ea2e77b865be9ed572cc7 (diff) | |
download | psutil-6c0762212309cba92715a23fd80652c6330fd60e.tar.gz |
Remove use of deprecated setuptools test_suite & tests_require (#1696)
Since setuptools v41.5.0 (27 Oct 2019), the 'test' command is formally
deprecated and should not be used. Test are still easy to run through
tox -- as before.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -66,13 +66,6 @@ sources = ['psutil/_psutil_common.c'] if POSIX: sources.append('psutil/_psutil_posix.c') -tests_require = [] -if sys.version_info[:2] <= (2, 6): - tests_require.append('unittest2') -if sys.version_info[:2] <= (2, 7): - tests_require.append('mock') -if sys.version_info[:2] <= (3, 2): - tests_require.append('ipaddress') extras_require = {} if sys.version_info[:2] <= (3, 3): @@ -393,8 +386,6 @@ def main(): if setuptools is not None: kwargs.update( python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", - test_suite="psutil.tests.get_suite", - tests_require=tests_require, extras_require=extras_require, zip_safe=False, ) |