File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 22import sys
33
44from setuptools import setup
5- from setuptools .command .test import test as TestCommand
65
76about = {}
87with open ("tmuxp/__about__.py" ) as fp :
2221history = open ('CHANGES' ).read ().replace ('.. :changelog:' , '' )
2322
2423
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-
3924setup (
4025 name = about ['__title__' ],
4126 version = about ['__version__' ],
@@ -55,7 +40,6 @@ def run_tests(self):
5540 include_package_data = True ,
5641 install_requires = install_reqs ,
5742 tests_require = tests_reqs ,
58- cmdclass = {'test' : PyTest },
5943 zip_safe = False ,
6044 keywords = about ['__title__' ],
6145 entry_points = dict (console_scripts = ['tmuxp=tmuxp:cli.cli' ]),
You can’t perform that action at this time.
0 commit comments