forked from pymc-labs/pymc-marketing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (69 loc) · 1.78 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61.0"]
[project]
name = "pymc-marketing"
description = "Marketing Statistical Models in PyMC"
requires-python = ">=3.9"
readme = "README.md"
license = { file = "LICENSE" }
dynamic = ["version"]
maintainers = [{ name = "PyMC Labs", email = "[email protected]" }]
dependencies = [
"arviz>=0.13.0",
"matplotlib>=3.5.1",
"numpy>=1.17,<1.25",
"pandas",
# NOTE: Keep minimum pymc version in sync with ci.yml `OLDEST_PYMC_VERSION`
"pymc>=5.8.2",
"scikit-learn>=1.1.1",
"seaborn>=0.12.2",
"xarray",
"xarray-einstats>=0.5.1",
]
[project.optional-dependencies]
docs = [
"sphinx",
"ipython!=8.7.0",
"myst-parser",
"myst-nb",
"pydata-sphinx-theme>=0.12.0.dev0",
"sphinx-copybutton",
"sphinx-autodoc-typehints",
"sphinxext-opengraph",
"sphinx-notfound-page",
"sphinx-design",
]
lint = ["mypy", "pandas-stubs", "pre-commit>=2.19.0", "ruff>=0.1.4"]
test = ["lifetimes==0.11.3", "pytest==7.0.1", "pytest-cov==3.0.0"]
[tool.setuptools]
packages = [
"pymc_marketing",
"pymc_marketing.mmm",
"pymc_marketing.clv",
"pymc_marketing.clv.models",
]
[tool.setuptools.dynamic]
version = { file = "pymc_marketing/version.txt" }
[project.urls]
repository = "https://github.com/pymc-labs/pymc-marketing"
# Other options
#homepage = "https://bambinos.github.io/bambi"
#documentation = ""
#changelog = ""
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = [
"E501", # Line too long
]
[tool.pytest.ini_options]
addopts = [
"-v",
"--strict-markers",
"--strict-config",
"--cov=pymc_marketing",
"--cov-report=term-missing",
"--color=yes",
]
filterwarnings = ["ignore::DeprecationWarning:bokeh.core.property.primitive:37"]
testpaths = "tests"