зеркало из https://github.com/py-why/EconML.git
Move build config to pyproject.toml
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
This commit is contained in:
Родитель
4d0b545519
Коммит
7830c47845
|
@ -95,9 +95,17 @@ requires = [
|
|||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["econml", "econml.*"]
|
||||
exclude = ["econml.tests"]
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
# include all CSV files as data
|
||||
"*" = ["*.csv", "*.jbl"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["econml/tests"]
|
||||
addopts = "--junitxml=junit/test-results.xml -n auto --strict-markers --cov-config=pyproject.toml --cov"
|
||||
addopts = "--junitxml=junit/test-results.xml -n auto --strict-markers --cov-config=pyproject.toml --cov --import-mode=importlib"
|
||||
markers = [
|
||||
"slow",
|
||||
"notebook",
|
||||
|
|
13
setup.cfg
13
setup.cfg
|
@ -6,17 +6,4 @@ max-line-length=119
|
|||
; Use numpy style
|
||||
convention=numpy
|
||||
|
||||
[options]
|
||||
packages = find_namespace:
|
||||
|
||||
[options.packages.find]
|
||||
include =
|
||||
econml
|
||||
econml.*
|
||||
exclude =
|
||||
econml.tests
|
||||
|
||||
[options.package_data]
|
||||
; include all CSV files as data
|
||||
* = *.csv
|
||||
*.jbl
|
||||
|
|
Загрузка…
Ссылка в новой задаче