Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf4b1d65

Browse files
committed
fix metadata
1 parentbabbca6 commitf4b1d65

File tree

2 files changed

+51
-54
lines changed

2 files changed

+51
-54
lines changed

‎pyproject.toml‎

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0","wheel","cffi>=1.15.0"]
3+
build-backend ="setuptools.build_meta"
4+
5+
[project]
6+
name ="nfstream"
7+
version ="6.5.4"
8+
description ="A Flexible Network Data Analysis Framework"
9+
readme ="README.md"
10+
requires-python =">=3.9"
11+
license = {text ="LGPL-3.0-or-later" }
12+
authors = [{name ="Zied Aouini",email ="aouinizied@gmail.com" }]
13+
urls = {Homepage ="https://www.nfstream.org/",GitHub ="https://github.com/nfstream/nfstream" }
14+
15+
dependencies = [
16+
"cffi>=1.15.0",
17+
"psutil>=5.8.0",
18+
"dpkt>=1.9.7",
19+
"numpy>=1.19.5",
20+
"pandas>=1.1.5",
21+
]
22+
23+
classifiers = [
24+
"Development Status :: 5 - Production/Stable",
25+
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
26+
"Intended Audience :: Telecommunications Industry",
27+
"Intended Audience :: Information Technology",
28+
"Intended Audience :: System Administrators",
29+
"Intended Audience :: Science/Research",
30+
"Intended Audience :: Developers",
31+
"Programming Language :: Python :: 3 :: Only",
32+
"Programming Language :: Python :: 3.9",
33+
"Programming Language :: Python :: 3.10",
34+
"Programming Language :: Python :: 3.11",
35+
"Programming Language :: Python :: 3.12",
36+
"Programming Language :: Python :: 3.13",
37+
"Programming Language :: Python :: 3.14",
38+
"Topic :: Security",
39+
"Topic :: Internet :: Log Analysis",
40+
"Topic :: System :: Networking :: Monitoring",
41+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
42+
]
43+
44+
[tool.setuptools]
45+
include-package-data =true
46+
47+
[tool.setuptools.packages.find]
48+
include = ["nfstream","nfstream.*"]
49+
150
[tool.cibuildwheel.linux]
251
before-all ="""
352
yum -y update && yum -y groupinstall 'Development tools' && \
@@ -10,4 +59,4 @@ select = "*-musllinux*"
1059
before-all ="""
1160
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 && \
1261
install -d "$(aclocal --print-ac-dir)" && cp /usr/share/aclocal/pkg.m4 "$(aclocal --print-ac-dir)/"
13-
"""
62+
"""

‎setup.py‎

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -13,60 +13,8 @@
1313
------------------------------------------------------------------------------------------------------------------------
1414
"""
1515

16-
importpathlib
17-
importsys
18-
importos
1916
fromsetuptoolsimportsetup
2017

21-
22-
THIS_DIRECTORY=str(pathlib.Path(__file__).parent.resolve())
23-
24-
if (notsys.version_info[0]==3)and (notsys.version_info[1]>=9):
25-
sys.exit("Sorry, nfstream requires Python3.9+ versions.")
26-
27-
withopen(os.path.join(THIS_DIRECTORY,"README.md"),encoding="utf-8")asf:
28-
LONG_DESCRIPTION=f.read()
29-
30-
INSTALL_REQUIRES= ["cffi>=1.15.0","psutil>=5.8.0","dpkt>=1.9.7","numpy>=1.19.5","pandas>=1.1.5"]
31-
32-
3318
setup(
34-
name="nfstream",
35-
version="6.5.4",
36-
url="https://www.nfstream.org/",
37-
license="LGPLv3",
38-
description="A Flexible Network Data Analysis Framework",
39-
long_description=LONG_DESCRIPTION,
40-
long_description_content_type="text/markdown",
41-
author="Zied Aouini",
42-
author_email="aouinizied@gmail.com",
43-
packages=["nfstream","nfstream.plugins","nfstream.engine"],
44-
setup_requires=["cffi>=1.15.0"],
4519
cffi_modules=["nfstream/engine/engine_build.py:ffi_builder"],
46-
install_requires=INSTALL_REQUIRES,
47-
include_package_data=True,
48-
platforms=["Linux","Mac OS-X","Windows","Unix"],
49-
classifiers=[
50-
"Development Status :: 5 - Production/Stable",
51-
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
52-
"Intended Audience :: Telecommunications Industry",
53-
"Intended Audience :: Information Technology",
54-
"Intended Audience :: System Administrators",
55-
"Intended Audience :: Science/Research",
56-
"Intended Audience :: Developers",
57-
"Programming Language :: Python :: 3 :: Only",
58-
"Programming Language :: Python :: 3.9",
59-
"Programming Language :: Python :: 3.10",
60-
"Programming Language :: Python :: 3.11",
61-
"Programming Language :: Python :: 3.12",
62-
"Programming Language :: Python :: 3.13",
63-
"Programming Language :: Python :: 3.14",
64-
"Topic :: Security",
65-
"Topic :: Internet :: Log Analysis",
66-
"Topic :: System :: Networking :: Monitoring",
67-
"Topic :: Scientific/Engineering :: Artificial Intelligence",
68-
],
69-
project_urls={
70-
"GitHub":"https://github.com/nfstream/nfstream",
71-
},
72-
)
20+
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp