Apparently many formerly recommended uses of setup.py such as testing and installation are now deprecated (see, e.g. https://github.com/pypa/setuptools/issues/1684 and https://github.com/pypa/setuptools/issues/1684#issuecomment-508311518). The general recommendation seems to be to move to tox.