forked from ssh-mitm/ssh-mitm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
77 lines (69 loc) · 2.21 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
def get_version():
from ssh_proxy_server.__version__ import version
return version
def get_entry_points():
from ssh_proxy_server.__entrypoints__ import entry_points as ssh_entry_points
return {
**ssh_entry_points
}
setup(
name='ssh-mitm',
version=get_version(),
author='SSH-MITM Dev-Team',
author_email='[email protected]',
description='ssh mitm server for security audits supporting publickey authentication, session hijacking and file manipulation',
long_description=long_description,
long_description_content_type='text/markdown',
keywords="ssh proxy mitm network security audit",
packages=find_packages(),
url="https://www.ssh-mitm.at",
project_urls={
'Documentation': 'https://docs.ssh-mitm.at',
'Source': 'https://github.com/ssh-mitm/ssh-mitm',
'Tracker': 'https://github.com/ssh-mitm/ssh-mitm/issues',
},
python_requires='>= 3.6',
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Topic :: System :: Networking",
"Development Status :: 4 - Beta"
],
package_data={
'ssh_proxy_server': [
'data/*.*',
]
},
entry_points={
**{
'console_scripts': [
'ssh-mitm = ssh_proxy_server.cli:main',
'ssh-mitm-askpass = ssh_proxy_server.tools.askpass:main'
]
},
**get_entry_points()
},
install_requires=[
'enhancements>=0.3.0',
'paramiko',
'pytz',
'sshpubkeys',
'pyyaml',
'packaging',
'colored',
'rich',
'requests',
'typeguard'
]
)