-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
49 lines (45 loc) · 1.55 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
"""cfn-custom-resource setup module
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
"""
from setuptools import setup
def get_version(name):
import os.path
path = os.path.join(name, '_version')
if not os.path.exists(path):
return "0.0.0"
with open(path) as f:
return f.read().strip()
setup(
name='cfn-custom-resource',
version=get_version('cfn_custom_resource'),
description='Collection of tools to enable use of AWS Lambda with CloudFormation',
entry_points={
'console_scripts': [
'cfn-custom-resource-template = cfn_custom_resource.deployment:template_main',
],
},
packages=["cfn_custom_resource"],
package_data={
"cfn_custom_resource": ["_version"]
},
install_requires=['boto3',
'botocore',
'requests'],
project_urls={
"Source Code": "https://github.com/iRobotCorporation/cfn-custom-resource",
},
author='Ben Kehoe',
author_email='[email protected]',
license='MPL-2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
],
keywords='aws lambda cloudformation',
)