generated from Sceptre/sceptre-template-handler-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
59 lines (52 loc) · 1.95 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
from setuptools import setup, find_packages
__version__ = "1.0.0"
TEMPLATE_HANDLER_NAME = "sceptre-sam-handler"
TEMPLATE_HANDLER_TYPE = "sam"
TEMPLATE_HANDLER_MODULE_NAME = "sam_handler.handler"
TEMPLATE_HANDLER_CLASS = "SAM"
TEMPLATE_HANDLER_DESCRIPTION = "Packages and renders SAM templates for use"
TEMPLATE_HANDLER_AUTHOR = "Jon Falkenstein"
TEMPLATE_HANDLER_AUTHOR_EMAIL = "[email protected]"
# if multiple use single string with commas.
TEMPLATE_HANDLER_URL = "https://github.com/sceptre/{}".format(TEMPLATE_HANDLER_NAME)
with open("README.md") as readme_file:
README = readme_file.read()
install_requirements = [
"sceptre>=4.0",
]
test_requirements = ["pytest>=3.2.0", "pyfakefs>=4.5.0"]
setup_requirements = ["pytest-runner>=3"]
setup(
name=TEMPLATE_HANDLER_NAME,
version=__version__,
description=TEMPLATE_HANDLER_DESCRIPTION,
long_description=README,
long_description_content_type="text/markdown",
author=TEMPLATE_HANDLER_AUTHOR,
license="Apache2",
url=TEMPLATE_HANDLER_URL,
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
entry_points={
"sceptre.template_handlers": [
f"{TEMPLATE_HANDLER_TYPE}={TEMPLATE_HANDLER_MODULE_NAME}:{TEMPLATE_HANDLER_CLASS}"
]
},
include_package_data=True,
zip_safe=False,
keywords="sceptre, sceptre-template-handler, sam, aws, cloudformation",
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
"Environment :: Console",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
test_suite="tests",
install_requires=install_requirements,
tests_require=test_requirements,
setup_requires=setup_requirements,
python_requires=">=3.6",
extras_require={"test": test_requirements, "sam": ["aws-sam-cli"]},
)