forked from pelme/rds-log
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·41 lines (36 loc) · 1.14 KB
/
setup.py
File metadata and controls
executable file
·41 lines (36 loc) · 1.14 KB
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
#!/usr/bin/env python
import os
import codecs
from setuptools import setup, find_packages
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
setup(
name='rds-log',
use_scm_version=True,
description='A utility to download AWS RDS logs',
author='Andreas Pelme',
author_email='andreas@pelme.se',
url='https://github.com/pelme/rds-log',
packages=find_packages(),
long_description=read('README.rst'),
install_requires=[
'boto3==1.4.7',
'click==5.1',
],
setup_requires=[
'setuptools_scm==1.7.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.6',
],
entry_points={
'console_scripts': 'rds-log-stream=_rds_log.commands.rds_log_stream:main'
},
)