-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (46 loc) · 1.76 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
48
49
50
51
52
##############################################################################
#
# Copyright (c) Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
name, version = 'zc.s3blobstorage', '0.3.1'
install_requires = ['setuptools', 'requests',
'zc.zk [static]', 'zc.zkzeo', 'boto']
extras_require = dict(
test=['manuel', 'mock', 'zope.testing', 'bobo', 'zc.wsgidriver'],
zodb3 = ['ZODB3'],
zodb = ['ZEO'],
)
entry_points = """
[console_scripts]
process_s3_blob_removes = zc.s3blobstorage.pack:main
s3-blob-server-monitor = zc.s3blobstorage.servermonitor:main
"""
from setuptools import setup
long_description=open('README.rst').read()
setup(
author = 'Jim Fulton',
author_email = '[email protected]',
license = 'ZPL 2.1',
name = name, version = version,
long_description = long_description,
description = long_description.strip().split('\n')[1],
packages = [name.split('.')[0], name],
namespace_packages = [name.split('.')[0]],
package_dir = {'': 'src'},
install_requires = install_requires,
zip_safe = False,
entry_points=entry_points,
package_data = {name: ['*.txt', '*.test', '*.html', "*.rst", "*.xml"]},
extras_require = extras_require,
tests_require = extras_require['test'],
test_suite = name+'.tests.test_suite',
)