-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
128 lines (113 loc) · 3.18 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = ["setuptools>=61.2", "setuptools-rust"]
build-backend = "setuptools.build_meta"
[project]
name = "silver-platter"
authors = [{name = "Jelmer Vernooij", email = "[email protected]"}]
description = "Large scale VCS change management"
readme = "README.md"
license = {text = "GNU GPL v2 or later"}
keywords = ["git bzr vcs github gitlab launchpad"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: POSIX",
"Topic :: Software Development :: Version Control",
]
requires-python = ">=3.9"
dependencies = [
"breezy>=3.3.3",
"dulwich>=0.20.23",
"jinja2",
"pyyaml",
"ruamel.yaml",
]
version = "0.5.36"
[project.urls]
Homepage = "https://jelmer.uk/code/silver-platter"
"Bug Tracker" = "https://github.com/jelmer/silver-platter/issues"
Repository = "https://github.com/jelmer/silver-platter"
GitHub = "https://github.com/jelmer/silver-platter"
[project.optional-dependencies]
debian = [
"debmutate>=0.3",
"python_debian>=0.1.48",
"brz-debian",
]
launchpad = ["launchpadlib"]
detect-gbp-dch = ["lintian-brush"]
testing = [
"testtools",
"debmutate>=0.3",
"python-debian",
"brz-debian",
]
dev = [
"ruff==0.9.4"
]
[project.scripts]
debian-svp = "silver_platter.debian.__main__:main"
[tool.setuptools.packages.find]
where = ["py"]
include = ["silver_platter*"]
[tool.setuptools.package-data]
silver_platter = ["py.typed"]
[tool.mypy]
ignore_missing_imports = true
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
"ANN",
"D",
"E",
"F",
"I",
"UP",
]
ignore = [
"ANN001",
"ANN002",
"ANN003",
"ANN101",
"ANN102",
"ANN201",
"ANN202",
"ANN204",
"ANN206",
"ANN401",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D107",
"D300",
"D417",
"E501",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
known-third-party = ["debian"]
known-first-party = ["silver_platter"]
[tool.cibuildwheel]
environment = {PATH="$HOME/.cargo/bin:$PATH"}
before-build = "pip install -U setuptools-rust && rustup show"
# breezyshim embeds python3, which doesn't work with pypy
skip = "pp* *musllinux*"
[tool.cibuildwheel.linux]
before-build = "if command -v yum; then yum -y install openssl-devel libtdb-devel clang libgpg-error-devel; fi && if command -v apk; then apk add openssl-dev pkgconfig tdb-dev llvm clang gpgme-dev; fi && pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && rustup show"
[tool.cibuildwheel.macos]
before-build = "brew install openssl && rustup target add aarch64-apple-darwin && rustup show"
[tool.cibuildwheel.windows]
before-build = "vcpkg install openssl"
environment = {CMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake"}