Debian Codegraph @

setup.py

raw symbols SCIP
1 #!/usr/bin/env python
2
3 #
4 # Copyright 2012-2018 BloomReach, Inc.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
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'], # Added s4cmd.py as script for backward compatibility
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 )