-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
79 lines (65 loc) · 2.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
"""setup.py
Due to scikit-learn, pip is required:
pip install .
"""
import pathlib
from setuptools import find_packages, setup
README_PATH = pathlib.Path(__file__).parent / 'README.md'
INSTALL_REQUIRES = [
'netaddr ~= 1.3.0',
'numpy ~= 2.0.1',
'pandas ~= 2.2.2',
'pyod ~= 2.0.1',
'scapy ~= 2.5.0',
'scikit-learn ~= 1.5.1',
]
_CLI_REQUIRES = [
'argcmdr==0.13.1',
'argparse-formatter==1.4',
'PyYAML==6.0.1',
'terminaltables==3.1.10',
]
_TESTS_REQUIRE = [
'tox==3.26.0',
]
EXTRAS_REQUIRE = {
'cli': _CLI_REQUIRES,
'dev': _CLI_REQUIRES + _TESTS_REQUIRE + [
'bumpversion==0.6.0',
'twine==5.1.1',
'wheel==0.43.0',
],
# (as yet) unused:
# 'visualize': ['matplotlib==3.2.1'],
}
setup(name='netml',
version='0.7.1',
description='Feature Extraction and Machine Learning from Network Traffic Traces',
long_description=README_PATH.read_text(),
long_description_content_type="text/markdown",
url='https://github.com/noise-lab/netml',
license='Apache 2.0',
python_requires='>=3.8.11,<4',
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: System :: Networking :: Monitoring',
],
packages=find_packages('src'),
package_dir={'': 'src'},
entry_points={
'console_scripts': ['netml=netml.cli:execute [cli]'],
})