File tree 1 file changed +1
-17
lines changed
1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change 4
4
import sys
5
5
6
6
from setuptools import find_packages , setup , Command
7
- from setuptools .command .test import test as TestCommand
8
-
9
7
10
8
long_description = '''
11
9
The optimal binning is the optimal discretization of a variable into bins
@@ -34,20 +32,6 @@ def run(self):
34
32
os .system ('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info' )
35
33
36
34
37
- # test suites
38
- class PyTest (TestCommand ):
39
- def finalize_options (self ):
40
- TestCommand .finalize_options (self )
41
- self .test_args = []
42
- self .test_suite = []
43
-
44
- def run_tests (self ):
45
- # import here, because outside the eggs aren't loaded
46
- import pytest
47
- errcode = pytest .main (self .test_args )
48
- sys .exit (errcode )
49
-
50
-
51
35
# install requirements
52
36
install_requires = [
53
37
'matplotlib' ,
@@ -89,7 +73,7 @@ def run_tests(self):
89
73
include_package_data = True ,
90
74
license = "Apache Licence 2.0" ,
91
75
url = "https://github.com/guillermo-navas-palencia/optbinning" ,
92
- cmdclass = {'clean' : CleanCommand , 'test' : PyTest },
76
+ cmdclass = {'clean' : CleanCommand },
93
77
python_requires = '>=3.7' ,
94
78
install_requires = install_requires ,
95
79
tests_require = tests_require ,
You can’t perform that action at this time.
0 commit comments