-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (61 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (61 loc) · 1.72 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mbuzz"
version = "0.10.0"
description = "Multi-touch attribution SDK for Python"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Mbuzz", email = "support@mbuzz.co" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Django",
"Framework :: Flask",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["analytics", "attribution", "marketing", "tracking"]
[project.urls]
Homepage = "https://mbuzz.co"
Documentation = "https://mbuzz.co/docs/getting-started"
Repository = "https://github.com/mbuzzco/mbuzz-python"
[project.optional-dependencies]
django = ["django>=3.2"]
flask = ["flask>=2.0"]
fastapi = ["starlette"]
dev = [
"pytest",
"pytest-cov",
"black",
"ruff",
"mypy",
"flask>=2.0",
"django>=3.2",
"starlette",
# starlette's TestClient needs an httpx; which one depends on the starlette
# version resolved for the Python in use — httpx2 on new, httpx on 3.9.
# Declare both so CI matches a developer's machine on every version.
"httpx",
"httpx2; python_version >= '3.10'",
]
[tool.hatch.build.targets.wheel]
packages = ["src/mbuzz"]
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W"]
[tool.mypy]
python_version = "3.8"
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]