File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,17 @@ requires = [
9595]
9696build-backend = " setuptools.build_meta"
9797
98+ [tool .setuptools .packages .find ]
99+ include = [" econml" , " econml.*" ]
100+ exclude = [" econml.tests" ]
101+
102+ [tool .setuptools .package-data ]
103+ # include all CSV files as data
104+ "*" = [" *.csv" , " *.jbl" ]
105+
98106[tool .pytest .ini_options ]
99107testpaths = [" econml/tests" ]
100- addopts = " --junitxml=junit/test-results.xml -n auto --strict-markers --cov-config=pyproject.toml --cov"
108+ addopts = " --junitxml=junit/test-results.xml -n auto --strict-markers --cov-config=pyproject.toml --cov --import-mode=importlib "
101109markers = [
102110 " slow" ,
103111 " notebook" ,
Original file line number Diff line number Diff line change @@ -6,17 +6,4 @@ max-line-length=119
66; Use numpy style
77convention =numpy
88
9- [options]
10- packages = find_namespace:
11-
12- [options.packages.find]
13- include =
14- econml
15- econml.*
16- exclude =
17- econml.tests
189
19- [options.package_data]
20- ; include all CSV files as data
21- * = *.csv
22- *.jbl
You can’t perform that action at this time.
0 commit comments