| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
""" |
| 20 |
Super S3 command line tool, setup.py |
| 21 |
""" |
| 22 |
|
| 23 |
import os, stat |
| 24 |
from setuptools import setup, find_packages |
| 25 |
from setuptools.command.install import install as _install |
| 26 |
|
| 27 |
__author__ = "Chou-han Yang" |
| 28 |
__copyright__ = "Copyright 2012-2018 BloomReach, Inc." |
| 29 |
__license__ = "http://www.apache.org/licenses/LICENSE-2.0" |
| 30 |
__version__ = "2.1.0" |
| 31 |
__maintainer__ = "Navin Pai, Naveen Vardhi" |
| 32 |
__status__ = "Development" |
| 33 |
|
| 34 |
this_directory = os.path.abspath(os.path.dirname(__file__)) |
| 35 |
with open(os.path.join(this_directory, 'README.md')) as f: |
| 36 |
long_description = f.read() |
| 37 |
|
| 38 |
class install(_install): |
| 39 |
def run(self): |
| 40 |
_install.run(self) |
| 41 |
|
| 42 |
setup(name='s4cmd', |
| 43 |
version=__version__, |
| 44 |
description='Super S3 command line tool', |
| 45 |
author=__author__, |
| 46 |
license=__license__, |
| 47 |
long_description=long_description, |
| 48 |
long_description_content_type='text/markdown', |
| 49 |
url='https://github.com/bloomreach/s4cmd', |
| 50 |
py_modules=['s4cmd'], |
| 51 |
scripts=['s4cmd.py'], |
| 52 |
install_requires=['boto3>=1.3.1', 'pytz>=2016.4'], |
| 53 |
entry_points={ |
| 54 |
'console_scripts': [ |
| 55 |
's4cmd = s4cmd:main', |
| 56 |
]}, |
| 57 |
cmdclass={'install': install}, |
| 58 |
) |