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 99import sys
1010
1111from setuptools import setup
12- from setuptools .command .test import test as TestCommand
1312
1413about = {}
1514with open ("libtmux/__about__.py" ) as fp :
2625history = open ('CHANGES' ).read ().replace ('.. :changelog:' , '' )
2726
2827
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-
4328setup (
4429 name = about ['__title__' ],
4530 version = about ['__version__' ],
@@ -58,7 +43,6 @@ def run_tests(self):
5843 packages = ['libtmux' ],
5944 include_package_data = True ,
6045 tests_require = tests_reqs ,
61- cmdclass = {'test' : PyTest },
6246 zip_safe = False ,
6347 keywords = about ['__title__' ],
6448 classifiers = [
You can’t perform that action at this time.
0 commit comments