File: pyproject.toml

package info (click to toggle)
python-setuptools-protobuf 0.1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180 kB
  • sloc: python: 490; makefile: 2
file content (80 lines) | stat: -rw-r--r-- 2,289 bytes parent folder | download
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
[build-system]
requires = ["setuptools>=60.8"]
build-backend = "setuptools.build_meta"

[project]
name = "setuptools-protobuf"
authors = [{name = "Jelmer Vernooij", email = "jelmer@jelmer.uk"}]
license = {text = "Apachev2"}
description = "Setuptools protobuf extension plugin"
keywords = ["distutils", "setuptools", "protobuf"]
classifiers = [
    "Topic :: Software Development :: Version Control",
    "License :: OSI Approved :: Apache Software License",
    "Intended Audience :: Developers",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
    "Operating System :: POSIX",
    "Operating System :: MacOS :: MacOS X",
    "Operating System :: Microsoft :: Windows",
]
requires-python = ">=3.9"
dependencies = ["setuptools>=60.8", 'tomli>=1.2.1; python_version<"3.11"']
dynamic = ["version"]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
homepage = "https://github.com/jelmer/setuptools-protobuf"

[project.entry-points."distutils.commands"]
build_protobuf = "setuptools_protobuf:build_protobuf"
clean_protobuf = "setuptools_protobuf:clean_protobuf"

[project.entry-points."setuptools.finalize_distribution_options"]
setuptools_protobuf = "setuptools_protobuf:pyprojecttoml_config"

[project.entry-points."distutils.setup_keywords"]
protobufs = "setuptools_protobuf:protobufs"

[project.optional-dependencies]
mypy = ["mypy-protobuf"]

[tool.setuptools]
packages = ["setuptools_protobuf"]
zip-safe = true
include-package-data = false

[tool.setuptools.dynamic]
version = {attr = "setuptools_protobuf.__version__"}

[tool.mypy]
ignore_missing_imports = true

[tool.ruff]
exclude = ["build"]

[tool.ruff.lint]
select = [
    "E",      # pycodestyle errors
    "W",      # pycodestyle warnings
    "F",      # pyflakes
    "D",      # pydocstyle - docstring conventions
    "I",      # isort
    "N",      # pep8-naming
    "UP",     # pyupgrade
]

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.lint.per-file-ignores]
"example/**/*.py" = ["D"]
"example_src_layout/**/*.py" = ["D", "I"]
"setup.py" = ["D100"]