/
setup.py
56 lines (48 loc) · 1.92 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
53
54
55
56
##########################################################################
# z3c.sqlalchemy - A SQLAlchemy wrapper for Python/Zope
#
# (C) Zope Corporation and Contributor
# Written by Andreas Jung for Haufe Mediengruppe, Freiburg, Germany
# and ZOPYX Ltd. & Co. KG, Tuebingen, Germany
##########################################################################
from setuptools import setup, find_packages
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Operating System :: OS Independent',
'Framework :: Zope2',
'Framework :: Zope :: 3',
'Programming Language :: Python',
'Topic :: Database :: Front-Ends',
'Topic :: Software Development :: Libraries :: Python Modules',
]
version = '1.4.1dev'
desc = open('README.txt').read().strip()
changes = open('CHANGES.txt').read().strip()
long_description = desc + '\n\nChanges\n=======\n\n' + changes
setup(name='z3c.sqlalchemy',
version=version,
license='ZPL (see LICENSE.txt)',
author='Andreas Jung',
author_email='info@zopyx.com',
maintainer='Andreas Jung',
maintainer_email='info@zopyx.com',
classifiers=CLASSIFIERS,
url='http://svn.zope.org/z3c.sqlalchemy/tags/%s' % version,
description='A SQLAlchemy wrapper for Zope 2 and Zope 3',
long_description=long_description,
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
namespace_packages=['z3c'],
install_requires=['setuptools',
'SQLAlchemy>=0.5.5',
'zope.sqlalchemy>=0.4.0',
'zope.component',
'zope.interface',
'zope.testing',
'zope.schema',
],
extras_require=dict(test=['pysqlite', 'zope.testing']))