Skip to content

Commit

Permalink
Sort lines + PEP-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jun 2, 2017
1 parent 3f68989 commit fb9e4b7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
*.pyc
__pycache__
*.egg-info
.tox/
*.pyc
.coverage
.tox/
__pycache__
coverage.xml
nosetests.xml
docs/_build
nosetests.xml
21 changes: 11 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import sys
from setuptools import setup, find_packages


def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()
Expand All @@ -43,8 +44,8 @@ def alltests():
tests_require = [
'zope.component[zcml]',
'zope.configuration',
'zope.testrunner',
'zope.testing',
'zope.testrunner',
]

setup(
Expand Down Expand Up @@ -72,21 +73,21 @@ def alltests():
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development',
],
long_description= \
],
long_description=(
read('README.rst')
+ '\n\n' +
read('CHANGES.rst'),
read('CHANGES.rst')),
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['zope',],
namespace_packages=['zope'],
install_requires=[
'setuptools',
'zope.interface',
'zope.component',
'zope.location',
'zope.proxy',
],
],
extras_require=dict(
btrees=[
'BTrees',
Expand All @@ -95,16 +96,16 @@ def alltests():
docs=[
'Sphinx',
'repoze.sphinx.autointerface',
] + tests_require,
] + tests_require,
test=tests_require,
testing=tests_require + ['nose', 'coverage'],
zcml=[
'zope.component[zcml]',
'zope.configuration',
],
),
],
),
test_suite="__main__.alltests",
tests_require=tests_require,
include_package_data=True,
zip_safe=False,
)
)

0 comments on commit fb9e4b7

Please sign in to comment.