forked from pmuller/s3-consistency-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (38 loc) · 1.29 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
from os.path import join, dirname, abspath
from setuptools import setup, find_packages
def read(filename):
with open(abspath(join(dirname(__file__), filename))) as fileobj:
return fileobj.read()
def get_version(package):
return [
line for line in read('{}/__init__.py'.format(package)).splitlines()
if line.startswith('__version__ = ')][0].split("'")[1]
NAME = 's3-consistency-checker'
PACKAGE = NAME.replace('-', '_')
VERSION = get_version(PACKAGE)
setup(
name=NAME,
version=VERSION,
description='Check consistency of files stored on S3 against local files',
long_description=read('README.rst'),
packages=find_packages(exclude=['dev']),
author='Philippe Muller',
author_email='[email protected]',
install_requires=[
'boto3 >=1.4.7',
],
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3.5',
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'Operating System :: POSIX :: Linux',
],
keywords='s3',
url='https://github.com/pmuller/s3-consistency-checker',
license='Apache License 2.0',
entry_points="""
[console_scripts]
s3-consistency-checker = s3_consistency_checker.cli:main
""",
)