forked from dpetzold/aws-log-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (30 loc) · 977 Bytes
/
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
#!/usr/bin/env python
import pathlib
from setuptools import setup
def get_requirements(name):
with open(f'requirements/{name}.txt') as fp:
return [
line.strip()
for line in fp.readlines()
if not line.startswith('#')
]
setup(
name='aws-log-parser',
version='1.8.0',
description='Python module for parsing AWS CloudFront and LoadBalancer logs',
long_description=(pathlib.Path(__file__).parent / 'README.md').read_text(),
long_description_content_type='text/markdown',
url='https://github.com/dpetzold/aws-log-parser',
author='Derrick Petzold',
author_email='[email protected]',
license='Apache',
packages=[
'aws_log_parser',
],
install_requires=get_requirements('install'),
setup_requires=get_requirements('setup'),
tests_require=get_requirements('test'),
extras_require={
'dev': get_requirements('dev') + get_requirements('test'),
},
)