Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
58 lines (54 sloc) 1.45 KB
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: -*-
""",
)
Jump to Line
Something went wrong with that request. Please try again.