Skip to content

Commit a971c30

Browse files
committed
1 parent 2c21002 commit a971c30

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

setup.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import sys
66

77
from setuptools import setup
8-
from setuptools.command.test import test as TestCommand
98

109
about = {}
1110
with open("libvcs/__about__.py") as fp:
@@ -21,20 +20,6 @@
2120
history = open('CHANGES').read().replace('.. :changelog:', '')
2221

2322

24-
class PyTest(TestCommand):
25-
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
26-
27-
def initialize_options(self):
28-
TestCommand.initialize_options(self)
29-
self.pytest_args = []
30-
31-
def run_tests(self):
32-
import pytest
33-
34-
errno = pytest.main(self.pytest_args)
35-
sys.exit(errno)
36-
37-
3823
setup(
3924
name=about['__title__'],
4025
version=about['__version__'],
@@ -53,7 +38,6 @@ def run_tests(self):
5338
include_package_data=True,
5439
install_requires=install_reqs,
5540
tests_require=tests_reqs,
56-
cmdclass={'test': PyTest},
5741
zip_safe=False,
5842
keywords=about['__title__'],
5943
packages=['libvcs'],

0 commit comments

Comments
 (0)