-
Notifications
You must be signed in to change notification settings - Fork 362
/
setup.py
57 lines (52 loc) · 1.5 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
# Copyright (C) 2016-2024 Mandiant, Inc. All rights reserved.
import os
import platform
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [
"pydivert",
"dpkt",
"dnslib",
"netifaces",
"pyftpdlib",
"cryptography",
"pyopenssl",
"jinja2",
]
if platform.system() == 'Windows':
requirements.append("pydivert")
elif platform.system().lower().startswith('linux'):
requirements.append("netfilterqueue")
setup(
name='FakeNet NG',
version='3.2',
description="",
long_description="",
author="Mandiant FLARE Team with credit to Peter Kacherginsky as the original developer",
author_email='[email protected]',
url='https://www.github.com/mandiant/flare-fakenet-ng',
packages=[
'fakenet',
],
package_dir={'fakenet': 'fakenet'},
package_data={'fakenet': ['*.pem','diverters/*.py', 'listeners/*.py',
'listeners/ssl_utils/*.py', 'listeners/ssl_utils/*.pem', 'configs/*.ini',
'configs/html_report_template.html', 'defaultFiles/*', 'lib/64/*', 'lib/32/*']},
entry_points={
"console_scripts": [
"fakenet=fakenet.fakenet:main",
]
},
include_package_data=True,
install_requires=requirements,
zip_safe=False,
keywords='fakenet-ng',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3',
],
)