-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (37 loc) · 1.51 KB
/
Copy pathpyproject.toml
File metadata and controls
45 lines (37 loc) · 1.51 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
[build-system]
requires = [
"setuptools >= 66.1.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "python3-gnutls"
description = "Python wrapper for the GnuTLS library"
# note: the {text = ...} form is needed to build on systems with
# setuptools < 77 (e.g. Debian 12), which does not support the PEP 639
# SPDX string form (license = "LGPL-2.1-or-later")
license = { text = "LGPL-2.1-or-later" }
readme = { file = "README", content-type = "text/plain" }
urls = { source = "https://github.com/AGProjects/python3-gnutls" }
authors = [
{ name = "Dan Pascu", email = "support@ag-projects.com" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dynamic = ["version", "dependencies", "optional-dependencies"]
[tool.setuptools]
platforms = ["Platform Independent"]
# explicit list to avoid automatic flat-layout discovery, which can fail or
# pick up unwanted directories (debian, examples, test) depending on the
# setuptools version
packages = ["gnutls", "gnutls.interfaces", "gnutls.interfaces.twisted", "gnutls.library"]
[tool.setuptools.dynamic]
version = { attr = "gnutls.__version__" }
# Cannot use attr for description: https://github.com/pypa/setuptools/issues/5053
#description = { attr = "gnutls.__summary__" }
dependencies = { file = "requirements.txt" }
optional-dependencies = { tests = { file = "requirements-tests.txt" } }