forked from noise-lab/netml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
76 lines (62 loc) · 1.9 KB
/
Copy pathsetup.py
File metadata and controls
76 lines (62 loc) · 1.9 KB
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
"""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 = [
'numpy==1.19.2',
'pandas==1.1.2',
'pyod==0.8.2',
'scapy==2.4.3',
'scikit-learn==0.23.1',
]
_CLI_REQUIRES = [
'argcmdr==0.7.0',
'argparse-formatter==1.2',
'PyYAML==5.3.1',
'terminaltables==3.1.0',
]
_TESTS_REQUIRE = [
'tox==3.20.0',
]
EXTRAS_REQUIRE = {
'cli': _CLI_REQUIRES,
'dev': _CLI_REQUIRES + _TESTS_REQUIRE + [
'bumpversion==0.6.0',
'twine==3.2.0',
'wheel==0.34.2',
],
# (as yet) unused:
# 'visualize': ['matplotlib==3.2.1'],
}
setup(name='netml',
version='0.1.1',
description='Network anomaly detection via machine learning',
long_description=README_PATH.read_text(),
long_description_content_type="text/markdown",
url='https://github.com/chicago-cdac/netml',
# license='xxx', # FIXME
python_requires='>=3.7.3,<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',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'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]'],
},
)