mirror of
https://github.com/nfstream/nfstream.git
synced 2026-10-19 09:43:52 +00:00
fix metadata
This commit is contained in:
parent
babbca660f
commit
f4b1d658de
2 changed files with 51 additions and 54 deletions
|
|
@ -1,3 +1,52 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=61.0", "wheel", "cffi>=1.15.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "nfstream"
|
||||
version = "6.5.4"
|
||||
description = "A Flexible Network Data Analysis Framework"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
license = { text = "LGPL-3.0-or-later" }
|
||||
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",
|
||||
]
|
||||
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
|
||||
"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' && \
|
||||
|
|
@ -10,4 +59,4 @@ 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)/"
|
||||
"""
|
||||
"""
|
||||
|
|
|
|||
54
setup.py
54
setup.py
|
|
@ -13,60 +13,8 @@ If not, see <http://www.gnu.org/licenses/>.
|
|||
------------------------------------------------------------------------------------------------------------------------
|
||||
"""
|
||||
|
||||
import pathlib
|
||||
import sys
|
||||
import os
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
THIS_DIRECTORY = str(pathlib.Path(__file__).parent.resolve())
|
||||
|
||||
if (not sys.version_info[0] == 3) and (not sys.version_info[1] >= 9):
|
||||
sys.exit("Sorry, nfstream requires Python3.9+ versions.")
|
||||
|
||||
with open(os.path.join(THIS_DIRECTORY, "README.md"), encoding="utf-8") as f:
|
||||
LONG_DESCRIPTION = f.read()
|
||||
|
||||
INSTALL_REQUIRES = ["cffi>=1.15.0", "psutil>=5.8.0", "dpkt>=1.9.7", "numpy>=1.19.5", "pandas>=1.1.5"]
|
||||
|
||||
|
||||
setup(
|
||||
name="nfstream",
|
||||
version="6.5.4",
|
||||
url="https://www.nfstream.org/",
|
||||
license="LGPLv3",
|
||||
description="A Flexible Network Data Analysis Framework",
|
||||
long_description=LONG_DESCRIPTION,
|
||||
long_description_content_type="text/markdown",
|
||||
author="Zied Aouini",
|
||||
author_email="aouinizied@gmail.com",
|
||||
packages=["nfstream", "nfstream.plugins", "nfstream.engine"],
|
||||
setup_requires=["cffi>=1.15.0"],
|
||||
cffi_modules=["nfstream/engine/engine_build.py:ffi_builder"],
|
||||
install_requires=INSTALL_REQUIRES,
|
||||
include_package_data=True,
|
||||
platforms=["Linux", "Mac OS-X", "Windows", "Unix"],
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
|
||||
"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",
|
||||
],
|
||||
project_urls={
|
||||
"GitHub": "https://github.com/nfstream/nfstream",
|
||||
},
|
||||
)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue