forked from AdaCore/e3-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (33 loc) · 1.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
from setuptools import setup, find_packages
import os
# Get e3 version from the VERSION file.
version_file = os.path.join(os.path.dirname(__file__), "VERSION")
with open(version_file) as f:
e3_version = f.read().strip()
setup(
name="e3-aws",
version=e3_version,
description="E3 Cloud Formation Extension",
author="AdaCore's Production Team",
packages=find_packages(where="src"),
package_dir={"": "src"},
package_data={"e3.aws": ["py.typed"]},
install_requires=(
"boto3",
"botocore",
# Only require docker for linux as there is a known dependency issue
# with pywin32 on windows
"docker; platform_system=='Linux'",
"pyyaml",
"troposphere",
"e3-core",
),
namespace_packages=["e3"],
entry_points={
"e3.event.handler": ["s3-boto3 = e3.aws.handler.s3:S3Handler"],
"console_scripts": [
"e3-aws-assume-profile = e3.aws:assume_profile_main",
"e3-aws-assume-role = e3.aws:assume_role_main",
],
},
)