Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Mar 19, 2013
1 parent 9d309dd commit 0d7a4a3
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions setup.py
Expand Up @@ -3,24 +3,26 @@
import os
from setuptools import setup, find_packages


def read(*rnames):
text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
return unicode(text, 'utf-8').encode('ascii', 'xmlcharrefreplace')

setup (

setup(
name='mongopersist',
version='0.8.1',
author = "Stephan Richter",
author_email = "stephan.richter@gmail.com",
description = "Mongo Persistence Backend",
author="Stephan Richter",
author_email="stephan.richter@gmail.com",
description="Mongo Persistence Backend",
long_description=(
read('src', 'mongopersist', 'README.txt')
+ '\n\n' +
read('CHANGES.txt')
),
license = "ZPL 2.1",
keywords = "mongo persistent ",
classifiers = [
license="ZPL 2.1",
keywords="mongo persistent ",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python',
Expand All @@ -29,31 +31,31 @@ def read(*rnames):
'License :: OSI Approved :: Zope Public License',
'Natural Language :: English',
'Operating System :: OS Independent'],
packages = find_packages('src'),
package_dir = {'':'src'},
packages=find_packages('src'),
package_dir={'': 'src'},
extras_require = dict(
test = (
test=(
'zope.app.testing',
'zope.testing',
'ZODB3',
),
zope = (
zope=(
'rwproperty',
'zope.container',
),
),
install_requires = [
install_requires=[
'transaction >=1.1.0',
'repoze.lru',
'pymongo',
'setuptools',
'zope.dottedname',
'zope.interface',
'zope.exceptions >=3.7.1', # required for extract_stack
'zope.exceptions >=3.7.1', # required for extract_stack
],
include_package_data = True,
zip_safe = False,
entry_points = '''
include_package_data=True,
zip_safe=False,
entry_points='''
[console_scripts]
profile = mongopersist.performance:main
''',
Expand Down

0 comments on commit 0d7a4a3

Please sign in to comment.