-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
55 lines (47 loc) · 1.67 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
#!/usr/bin/env python
import re
from setuptools import find_packages, setup
VERSION = '1.70.0'
# parameter variables
install_requires = []
extras_requires = {
"dev": ["flake8"]
}
package_data = {}
# determine requirements
with open('requirements.txt') as f:
requirements = f.read()
for line in re.split('\n', requirements):
if line and line[0] != '#':
lib_stripped = line.split(' #')[0].strip()
install_requires.append(lib_stripped)
# get the long description from the README.md
with open("README.md") as f:
long_description = f.read()
if __name__ == '__main__':
setup(
name='aws-sam-cli-local',
version=VERSION,
description='Simple wrapper around AWS SAM CLI for use with LocalStack',
long_description=long_description,
author='LocalStack Team',
author_email='info@localstack.cloud',
url='https://github.com/localstack/aws-sam-cli-local',
scripts=['bin/samlocal', 'bin/samlocal.bat'],
packages=find_packages(exclude=('tests', 'tests.*')),
package_data=package_data,
install_requires=install_requires,
extras_require=extras_requires,
license='Apache License 2.0',
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Testing',
]
)