Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import sys
import pkg_resources
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

__version__ = '3.20.3'

Expand All @@ -36,22 +35,6 @@
with open('requirements-dev.txt', encoding='utf-8') as f:
tests_require = [str(req) for req in pkg_resources.parse_requirements(f)]


class PyTest(TestCommand):
"""PyTest class."""

def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['--strict', '--verbose', '--tb=long', 'test']
self.test_suite = True

def run_tests(self):
import pytest

errcode = pytest.main(self.test_args)
sys.exit(errcode)


with open("README.md", "r", encoding='utf-8') as fh:
readme = fh.read()

Expand All @@ -62,7 +45,6 @@ def run_tests(self):
license='Apache 2.0',
install_requires=install_requires,
tests_require=tests_require,
cmdclass={'test': PyTest},
author='IBM',
author_email='[email protected]',
long_description=readme,
Expand Down