nfstream/pyproject.toml
2026-02-16 00:47:15 +01:00

63 lines
2.3 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel", "cffi>=1.15.0"]
build-backend = "setuptools.build_meta"
[project]
name = "nfstream"
version = "6.6.1"
description = "A Flexible Network Data Analysis Framework"
readme = "README.md"
requires-python = ">=3.9"
license = "LGPL-3.0-or-later"
license-files = ["LICENSE"]
authors = [{ name = "Zied Aouini", email = "aouinizied@gmail.com" }]
urls = { Homepage = "https://www.nfstream.org/", GitHub = "https://github.com/nfstream/nfstream" }
dependencies = [
"cffi>=1.15.0",
"psutil>=5.8.0",
"dpkt>=1.9.7",
"numpy>=1.19.5",
"pandas>=1.1.5; implementation_name != 'pypy'",
"pandas>=1.1.5,<3; implementation_name == 'pypy'",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Telecommunications Industry",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"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",
"Topic :: Security",
"Topic :: Internet :: Log Analysis",
"Topic :: System :: Networking :: Monitoring",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["nfstream", "nfstream.*"]
[tool.cibuildwheel.linux]
before-all = """
yum -y update && yum -y groupinstall 'Development tools' && \
yum -y install git m4 pkgconfig autogen gcc-c++ autoconf libtool-ltdl glib2-devel automake libtool gettext json-c-devel libusbx-devel dbus-glib-devel bluez-libs-devel libnl3-devel flex bison && \
install -d "$(aclocal --print-ac-dir)" && cp /usr/share/aclocal/pkg.m4 "$(aclocal --print-ac-dir)/"
"""
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = """
apk add --no-cache autoconf automake libtool pkgconfig gettext json-c-dev libusb-dev dbus-glib-dev bluez-libs bluez-dev libnl3-dev flex bison && \
install -d "$(aclocal --print-ac-dir)" && cp /usr/share/aclocal/pkg.m4 "$(aclocal --print-ac-dir)/"
"""