-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
71 lines (66 loc) · 2.03 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
#!/usr/bin/env python
# distutils/setuptools install script for azure_cis_scanner
import os
from setuptools import setup, find_packages
# Package info
NAME = 'azure_cis_scanner'
ROOT = os.path.dirname(__file__)
__version__ = '0.3.5'
VERSION = __version__
# Requirements
requirements = []
with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')) as f:
for r in f.readlines():
requirements.append(r.strip())
try:
import matplotlib
print('matplotlib found. Graphing supported')
except:
print('matplotlib not installed. Graphing not supported')
# Setup
setup(
name=NAME,
version=VERSION,
description='Azure CIS Scanner for security',
long_description=open('README.rst').read(),
author='kesten broughton, tanner harper',
author_email='[email protected]',
url='https://github.com/praetorian-inc/azure_cis_scanner',
entry_points={
'console_scripts': [
'azscan = azure_cis_scanner.controller:main',
]
},
packages=[
'azure_cis_scanner',
'azure_cis_scanner.modules',
'azure_cis_scanner.report',
],
package_data={
'azure_cis_scanner': [
'requirements.txt',
'cis_structure.yaml'
],
'report': [
'azure_cis_scanner/report/static/*.css',
'azure_cis_scanner/report/templates/*.html',
'azure_cis_scanner/report/requirements.txt'
]
},
include_package_data=True,
install_requires=requirements,
license='GNU General Public License v2 (GPLv2)',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6'
],
scripts=[
'bin/azscan',
]
)