-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpyproject.toml
54 lines (53 loc) · 1.66 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
[project]
name = "neonize"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"httpx>=0.28.1",
"linkpreview>=0.11.0",
"phonenumbers>=8.13.52",
"pillow>=11.1.0",
"protobuf>=5.29.3",
"python-magic>=0.4.27 ; sys_platform != 'win32'",
"python-magic-bin>=0.4.14 ; sys_platform == 'win32'",
"requests>=2.32.3",
"segno>=1.6.1",
"tqdm>=4.67.1",
]
[project.urls]
HomePage = "https://github.com/krypton-byte/neonize"
[dependency-groups]
dev = [
"mypy-protobuf>=3.6.0",
"taskipy>=1.14.1",
"types-requests>=2.32.0.20241016",
"wheel>=0.45.1",
]
docs = [
"furo>=2024.8.6",
"myst-parser>=4.0.0",
"sphinx>=8.1.3",
"sphinx-autodoc-typehints>=3.0.0",
]
[tool.taskipy.tasks]
build = {cmd = "uv run python -m tools.goneonize", help = "build goneonize"}
docsbuild = {cmd = "uv run python -m tools.docs", help="build autogen documentation for neonize"}
version = {cmd = "uv run python -m tools.versioning", help = "set neonize & goneonize version"}
download = {cmd = "uv run -m tools.download", help="Download goneonize from github release with specific version"}
repack = {cmd = "uv run -m tools.repack", help="generate wheel with spesific os & arch"}
proto = {cmd = "uv run -m tools.update_proto", help="update whatsapp proto files"}
[tool.uv.workspace]
exclude = ["docs/","goneonize/"]
members = ["neonize/neonize-*"]
[tool.pdm.version]
source = "file"
path = "neonize/__init__.py"
[tool.pdm.build]
includes = ["neonize/", "neonize/neonize-*"]
excludes = ["goneonize"]
# run-setuptools = true
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"