mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2026-03-30 17:11:29 +00:00
71 lines
1.7 KiB
TOML
71 lines
1.7 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pythonbpf"
|
|
version = "0.1.8"
|
|
description = "Reduced Python frontend for eBPF"
|
|
authors = [
|
|
{ name = "r41k0u", email="pragyanshchaturvedi18@gmail.com" },
|
|
{ name = "varun-r-mallya", email="varunrmallya@gmail.com" }
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"Operating System :: POSIX :: Linux",
|
|
"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",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: System :: Operating System Kernels :: Linux",
|
|
]
|
|
readme = "README.md"
|
|
license = {text = "Apache-2.0"}
|
|
requires-python = ">=3.10"
|
|
|
|
dependencies = [
|
|
"llvmlite>=0.45",
|
|
"astpretty",
|
|
"pylibbpf"
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
docs = [
|
|
"sphinx>=7.0",
|
|
"myst-parser>=2.0",
|
|
"sphinx-rtd-theme>=2.0",
|
|
"sphinx-copybutton",
|
|
]
|
|
test = [
|
|
"pytest>=8.0",
|
|
"pytest-cov>=5.0",
|
|
"tomli>=2.0; python_version < '3.11'",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["pythonbpf*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
python_files = ["test_*.py"]
|
|
markers = [
|
|
"verifier: requires sudo/root for kernel verifier tests (not run by default)",
|
|
"vmlinux: requires vmlinux.py for current kernel",
|
|
]
|
|
log_cli = false
|
|
|
|
[tool.coverage.run]
|
|
source = ["pythonbpf"]
|
|
omit = ["*/vmlinux*", "*/__pycache__/*"]
|
|
|
|
[tool.coverage.report]
|
|
show_missing = true
|
|
skip_covered = false
|