forked from GoSecure/pyrdp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·45 lines (42 loc) · 1.34 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
#!/usr/bin/env python3
# coding=utf-8
#
# This file is part of the PyRDP project.
# Copyright (C) 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#
# setuptools MUST be imported first, otherwise we get an error with the ext_modules argument.
import setuptools
from distutils.core import Extension, setup
setup(name='pyrdp',
version='0.4.2dev',
description='Remote Desktop Protocol Man-in-the-Middle and library for Python 3',
long_description="""Remote Desktop Protocol Man-in-the-Middle and library for Python 3""",
author='Émilio Gonzalez, Francis Labelle',
author_email='[email protected], [email protected]',
url='https://github.com/GoSecure/pyrdp',
packages=setuptools.find_packages(include=["pyrdp", "pyrdp.*"]),
package_data={"pyrdp": ["mitm/crawler_config/*.txt"]},
ext_modules=[Extension('rle', ['ext/rle.c'])],
scripts=[
'bin/pyrdp-clonecert.py',
'bin/pyrdp-mitm.py',
'bin/pyrdp-player.py'
],
install_requires=[
'appdirs',
'cryptography',
'names',
'pyasn1',
'pycryptodome',
'pyopenssl==19',
'pytz',
'rsa',
'scapy',
'service_identity',
'twisted',
],
extras_require={
"GUI": ['PySide2', 'dbus-python;platform_system!="Windows"', 'notify2;platform_system!="Windows"']
}
)