1313------------------------------------------------------------------------------------------------------------------------
1414"""
1515
16- import pathlib
17- import sys
18- import os
1916from setuptools import setup
2017
21-
22- THIS_DIRECTORY = str (pathlib .Path (__file__ ).parent .resolve ())
23-
24- if (not sys .version_info [0 ]== 3 )and (not sys .version_info [1 ]>= 9 ):
25- sys .exit ("Sorry, nfstream requires Python3.9+ versions." )
26-
27- with open (os .path .join (THIS_DIRECTORY ,"README.md" ),encoding = "utf-8" )as f :
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-
3318setup (
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" ],
4519cffi_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+ )