Skip to content

Commit

Permalink
PEP-8
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Aug 8, 2016
1 parent 7006ec3 commit 9a4d64f
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
import os
from setuptools import setup, find_packages


def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()

setup(
name='zope.app.appsetup',
Expand All @@ -31,18 +33,18 @@ def read(*rnames):
author_email='zope-dev@zope.org',
description="Zope app setup helper",
long_description=(
read('README.txt')
+ '\n\n' +
'.. contents::'
+ '\n\n' +
read('src', 'zope', 'app', 'appsetup', 'bootstrap.txt')
+ '\n\n' +
read('src', 'zope', 'app', 'appsetup', 'debug.txt')
+ '\n\n' +
read('src', 'zope', 'app', 'appsetup', 'product.txt')
+ '\n\n' +
read('README.txt') +
'\n\n' +
'.. contents::' +
'\n\n' +
read('src', 'zope', 'app', 'appsetup', 'bootstrap.txt') +
'\n\n' +
read('src', 'zope', 'app', 'appsetup', 'debug.txt') +
'\n\n' +
read('src', 'zope', 'app', 'appsetup', 'product.txt') +
'\n\n' +
read('CHANGES.txt')
),
),
license='ZPL 2.1',
keywords="zope3 app setup",
classifiers=[
Expand Down Expand Up @@ -73,12 +75,12 @@ def read(*rnames):
'zope.principalregistry >= 4.0.0a1',
'zope.testing >= 3.10',
'zope.testrunner',
]
),
]
),
setup_requires=[
'eggtestinfo',
'zope.testrunner',
],
],
install_requires=[
'ZODB',
'zdaemon',
Expand All @@ -95,19 +97,19 @@ def read(*rnames):
'zope.session >=4.0.0a1',
'zope.site >= 4.0.0a1',
'zope.traversing >= 4.0.0a2',
],
],
tests_require=[
'zope.componentvocabulary >= 2.0.0a1',
'zope.principalregistry >= 4.0.0a1',
'zope.testing >= 3.10',
'zope.testrunner',
],
],
test_suite='zope.app.appsetup.tests.test_suite',
test_loader='zope.testrunner.eggsupport:SkipLayers',
include_package_data=True,
zip_safe=False,
entry_points = """
entry_points="""
[console_scripts]
debug = zope.app.appsetup.debug:main
""",
)
)

0 comments on commit 9a4d64f

Please sign in to comment.