-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
45 lines (40 loc) · 1.5 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
import sys
from setuptools import setup, find_namespace_packages
from cloudrail.version import __version__
with open('requirements.txt') as requirements_file:
requirements = requirements_file.read().splitlines()
project_name = 'cloudrail-knowledge'
with open("README.md", "r") as fh:
long_description = fh.read()
version = __version__
if "--version" in sys.argv:
index = sys.argv.index('--version')
version = sys.argv[index + 1]
sys.argv.remove("--version")
sys.argv.remove(version)
setup(
name=project_name,
description='Cloudrail\'s package for security rules',
long_description=long_description,
long_description_content_type="text/markdown",
version=version,
author='Indeni',
author_email='engineering@indeni.com',
url='https://github.com/indeni/cloudrail-knowledge',
packages=find_namespace_packages(include=['cloudrail.*']),
package_data={'': ['aws_rules_metadata.yaml',
'azure_rules_metadata.yaml']},
include_package_data=True,
keywords=['cloud', 'aws', 'azure', 'security', 'rules', 'checks'],
install_requires=requirements,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Security',
'Topic :: Software Development :: Build Tools'
],
)