forked from CESNET/Nemea-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
74 lines (66 loc) · 1.82 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
69
70
71
72
73
74
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "nemea-pytrap"
version = "0.17.0"
description = "Python extension of the NEMEA project."
readme = {file = "README.md", content-type = "text/markdown"}
authors = [
{ name = "Tomas Cejka", email = "cejkat@cesnet.cz" },
]
maintainers = [
{ name = "Tomas Cejka", email = "cejkat@cesnet.cz" },
]
license = { text = "BSD" }
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX :: Linux",
"Programming Language :: C",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Networking :: Monitoring"
]
dependencies = []
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-forked",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-pyproject"
]
[project.urls]
Homepage = "https://github.com/CESNET/Nemea-Framework"
# Configure setuptools to find packages and handle C extensions
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[[tool.setuptools.ext-modules]]
name = "pytrap.pytrap"
sources = [
"src/pytrapmodule.c",
"src/unirecmodule.c",
"src/unirecipaddr.c",
"src/unirecmacaddr.c",
"src/iplist.c",
"src/fields.c"
]
libraries = ["trap", "unirec","gcov"]
extra-compile-args = ["-O2"]
[tool.pytest.ini_options]
testpaths = ["test"]
python_files = ["*_unittest.py"]
addopts = "--forked"