forked from nabla-c0d3/sslyze
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
26 lines (21 loc) · 795 Bytes
/
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
#!/usr/bin/env python
from sys import platform
from sslyze import PROJECT_VERSION, PROJECT_URL, PROJECT_EMAIL, PROJECT_DESC
from distutils.core import setup
NASSL_BINARY = '_nassl.so'
if platform == 'win32':
NASSL_BINARY = '_nassl.pyd'
SSLYZE_SETUP = {
'name' : 'SSLyze',
'version' : PROJECT_VERSION,
'description' : PROJECT_DESC,
'long_description' : open('README.md').read() + '\n' + open('AUTHORS.txt').read(),
'author_email' : PROJECT_EMAIL,
'url' : PROJECT_URL,
'scripts' : ['sslyze.py'],
'packages' : ['plugins', 'utils', 'nassl'],
'package_data' : {'plugins' : ['data/trust_stores/*.pem','data/trust_stores/mozilla_ev_oids.py'],
'nassl' : [NASSL_BINARY]},
'license' : open('LICENSE.txt').read()
}
setup(**SSLYZE_SETUP)