-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathsetup.py
50 lines (41 loc) · 1.06 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
"""
Raven Python Lambda
===================
A simple decorator providing Sentry exception handling to AWS Lambda functions.
"""
import sys
import os.path
from setuptools import setup, find_packages
ROOT = os.path.realpath(os.path.join(os.path.dirname(__file__)))
sys.path.insert(0, ROOT)
about = {}
with open(os.path.join(ROOT, "raven_python_lambda", "__about__.py")) as f:
exec(f.read(), about)
install_requires = [
'boto3', # typically already on lambda but required for sqs
'raven>=6.1.0',
'psutil>=5.2.2'
]
tests_require = [
'pytest',
'moto',
'coveralls',
'tox'
]
setup(
name=about["__title__"],
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
url=about["__uri__"],
description=about["__summary__"],
long_description='See README.md',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'tests': tests_require
},
keywords=['aws', 'sentry', 'raven', 'lambda']
)