-
Notifications
You must be signed in to change notification settings - Fork 1k
/
setup.py
78 lines (71 loc) · 2.34 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
72
73
74
75
76
77
78
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
README = readme_file.read()
def recursive_include(relative_dir):
all_paths = []
root_prefix = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'chalice')
full_path = os.path.join(root_prefix, relative_dir)
for rootdir, _, filenames in os.walk(full_path):
for filename in filenames:
abs_filename = os.path.join(rootdir, filename)
all_paths.append(abs_filename[len(root_prefix) + 1:])
return all_paths
install_requires = [
'click>=7,<9.0',
'botocore>=1.14.0,<2.0.0',
'typing-extensions>=4.0.0,<5.0.0;python_version<"3.8"',
'six>=1.10.0,<2.0.0',
'pip>=9,<24.4',
'jmespath>=0.9.3,<2.0.0',
'pyyaml>=5.3.1,<7.0.0',
'inquirer>=3.0.0,<4.0.0',
'wheel',
'setuptools'
]
setup(
name='chalice',
version='1.31.3',
description="Microframework",
long_description=README,
author="James Saryerwinnie",
url='https://github.com/aws/chalice',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=install_requires,
extras_require={
'event-file-poller': ['watchdog==2.3.1'],
'cdk': [
'aws_cdk.aws_iam>=1.85.0,<2.0',
'aws_cdk.aws-s3-assets>=1.85.0,<2.0',
'aws_cdk.cloudformation-include>=1.85.0,<2.0',
'aws_cdk.core>=1.85.0,<2.0',
],
'cdkv2': ["aws-cdk-lib>2.0,<3.0"]
},
license="Apache License 2.0",
package_data={'chalice': [
'*.json', '*.pyi', 'py.typed'] + recursive_include('templates')},
include_package_data=True,
zip_safe=False,
keywords='chalice',
entry_points={
'console_scripts': [
'chalice = chalice.cli:main',
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
"Programming Language :: Python :: 3",
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)