forked from psycopg/ZPsycopgDA
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
61 lines (58 loc) · 1.57 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
57
58
59
60
61
from setuptools import setup
# Get the version number from the package
f = open('Products/ZPsycopgDA/__init__.py')
try:
for line in f:
if line.startswith('__version__'):
version = line.split()[-1].replace("'", "")
break
else:
raise ValueError('__version__ not found')
finally:
f.close()
long_description = (
open('README.rst').read()
+ '\n' +
'Contributors\n'
'============\n'
+ '\n' +
open('CONTRIBUTORS.txt').read()
+ '\n' +
open('CHANGES.txt').read()
+ '\n'
)
setup(
name='Products.ZPsycopgDA',
version=version,
description="Zope bindings for psycopg2.",
long_description=long_description,
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Framework :: Zope2",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Topic :: Database",
],
keywords='',
author='Federico Di Gregorio',
author_email='[email protected]',
url='http://initd.org/psycopg/',
license='GPL with exceptions or ZPL',
packages=['Products.ZPsycopgDA'],
namespace_packages=['Products'],
package_dir={'': '.'},
package_data={
'Products.ZPsycopgDA': ['dtml/*', 'icons/*']
},
include_package_data = True,
zip_safe=False,
install_requires=[
'setuptools',
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)