forked from fortra/impacket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (43 loc) · 1.93 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
#!/usr/bin/env python
# $Id$
import glob
import os
import platform
from setuptools import setup
PACKAGE_NAME = "impacket"
if platform.system() != 'Darwin':
data_files = [(os.path.join('share', 'doc', PACKAGE_NAME), ['README.md', 'LICENSE']+glob.glob('doc/*'))]
else:
data_files = []
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name = PACKAGE_NAME,
version = "0.9.21-dev",
description = "Network protocols Constructors and Dissectors",
url = "https://www.secureauth.com/labs/open-source-tools/impacket",
author = "SecureAuth Corporation",
author_email = "[email protected]",
maintainer = "Alberto Solino",
maintainer_email = "[email protected]",
license = "Apache modified",
long_description = read('README.md'),
long_description_content_type="text/markdown",
platforms = ["Unix","Windows"],
packages=['impacket', 'impacket.dcerpc', 'impacket.examples', 'impacket.dcerpc.v5', 'impacket.dcerpc.v5.dcom',
'impacket.krb5', 'impacket.ldap', 'impacket.examples.ntlmrelayx',
'impacket.examples.ntlmrelayx.clients', 'impacket.examples.ntlmrelayx.servers',
'impacket.examples.ntlmrelayx.servers.socksplugins', 'impacket.examples.ntlmrelayx.utils',
'impacket.examples.ntlmrelayx.attacks'],
scripts = glob.glob(os.path.join('examples', '*.py')),
data_files = data_files,
install_requires=['pyasn1>=0.2.3', 'pycryptodomex', 'pyOpenSSL>=0.13.1', 'six', 'ldap3==2.5.1', 'ldapdomaindump>=0.9.0', 'flask>=1.0'],
extras_require={
'pyreadline:sys_platform=="win32"': [],
'python_version<"2.7"': [ 'argparse' ],
},
classifiers = [
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 2.6",
]
)