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 2
2
import sys
3
3
4
4
from setuptools import setup
5
- from setuptools .command .test import test as TestCommand
6
5
7
6
about = {}
8
7
with open ("tmuxp/__about__.py" ) as fp :
22
21
history = open ('CHANGES' ).read ().replace ('.. :changelog:' , '' )
23
22
24
23
25
- class PyTest (TestCommand ):
26
- user_options = [('pytest-args=' , 'a' , "Arguments to pass to py.test" )]
27
-
28
- def initialize_options (self ):
29
- TestCommand .initialize_options (self )
30
- self .pytest_args = []
31
-
32
- def run_tests (self ):
33
- import pytest
34
-
35
- errno = pytest .main (self .pytest_args )
36
- sys .exit (errno )
37
-
38
-
39
24
setup (
40
25
name = about ['__title__' ],
41
26
version = about ['__version__' ],
@@ -55,7 +40,6 @@ def run_tests(self):
55
40
include_package_data = True ,
56
41
install_requires = install_reqs ,
57
42
tests_require = tests_reqs ,
58
- cmdclass = {'test' : PyTest },
59
43
zip_safe = False ,
60
44
keywords = about ['__title__' ],
61
45
entry_points = dict (console_scripts = ['tmuxp=tmuxp:cli.cli' ]),
You can’t perform that action at this time.
0 commit comments