-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
executable file
·49 lines (41 loc) · 1.45 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
#!/usr/bin/env python
import re
from setuptools import find_packages, setup
# parameter variables
install_requires = []
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] == '#' and '#egg=' in line:
line = re.search(r'#\s*(.*)', line).group(1)
if line and line[0] != '#':
install_requires.append(line.strip())
package_data = {
'': ['Makefile', '*.md']
}
if __name__ == '__main__':
setup(
name='chalice-local',
version='0.1.1',
description='Small wrapper script to use AWS Chalice with LocalStack',
author='LocalStack Team',
author_email='[email protected]',
url='https://github.com/localstack/localstack',
scripts=['bin/chalice-local', 'bin/chalice-local.bat'],
packages=find_packages(exclude=('tests', 'tests.*')),
package_data=package_data,
install_requires=install_requires,
test_suite='tests',
license='Apache License 2.0',
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Testing',
]
)