diff --git a/setup.py b/setup.py index 91baba7416..83199fdd57 100644 --- a/setup.py +++ b/setup.py @@ -1,29 +1,11 @@ import codecs import os -import sys from setuptools import find_packages, setup -from setuptools.command.test import test as TestCommand from zulipterminal.version import ZT_VERSION -class PyTest(TestCommand): - user_options = [("pytest-args=", "a", "Arguments to pass to pytest")] - - def initialize_options(self): - TestCommand.initialize_options(self) - self.pytest_args = "" - - def run_tests(self): - import shlex - - import pytest - - errno = pytest.main(shlex.split(self.pytest_args)) - sys.exit(errno) - - def long_description(): if not (os.path.isfile("README.md") and os.access("README.md", os.R_OK)): return "" @@ -97,8 +79,6 @@ def long_description(): keywords="", packages=find_packages(exclude=["tests", "tests.*"]), zip_safe=True, - cmdclass={"test": PyTest}, - test_suite="test", entry_points={ "console_scripts": [ "zulip-term = zulipterminal.cli.run:main",