forked from psycopg/ZPsycopgDA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (49 loc) · 1.33 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
from setuptools import setup, find_packages
# 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=[
"Programming Language :: Python",
],
keywords='',
author='Federico Di Gregorio',
author_email='[email protected]',
url='http://initd.org/psycopg/',
license='GPL with exceptions or ZPL',
packages=['ZPsycopgDA'],
package_dir = {'': '.'},
namespace_packages=['ZPsycopgDA'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)