File tree 1 file changed +0
-16
lines changed 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 9
9
import sys
10
10
11
11
from setuptools import setup
12
- from setuptools .command .test import test as TestCommand
13
12
14
13
about = {}
15
14
with open ("libtmux/__about__.py" ) as fp :
26
25
history = open ('CHANGES' ).read ().replace ('.. :changelog:' , '' )
27
26
28
27
29
- class PyTest (TestCommand ):
30
- user_options = [('pytest-args=' , 'a' , "Arguments to pass to py.test" )]
31
-
32
- def initialize_options (self ):
33
- TestCommand .initialize_options (self )
34
- self .pytest_args = []
35
-
36
- def run_tests (self ):
37
- import pytest
38
-
39
- errno = pytest .main (self .pytest_args )
40
- sys .exit (errno )
41
-
42
-
43
28
setup (
44
29
name = about ['__title__' ],
45
30
version = about ['__version__' ],
@@ -58,7 +43,6 @@ def run_tests(self):
58
43
packages = ['libtmux' ],
59
44
include_package_data = True ,
60
45
tests_require = tests_reqs ,
61
- cmdclass = {'test' : PyTest },
62
46
zip_safe = False ,
63
47
keywords = about ['__title__' ],
64
48
classifiers = [
You can’t perform that action at this time.
0 commit comments