-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
57 lines (54 loc) · 1.45 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
from setuptools import setup
# Get the version number from the package
f = open('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='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='fog@initd.org',
url='http://initd.org/psycopg/',
license='GPL with exceptions or ZPL',
packages=['ZPsycopgDA'],
package_dir={'': '.'},
package_data={'ZPsycopgDA': ['dtml/*', 'icons/*']},
zip_safe=False,
install_requires=[
'setuptools',
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)