Skip to content

Commit

Permalink
Cleanup whitespace in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jul 24, 2017
1 parent 7fb15fe commit fe25025
Showing 1 changed file with 31 additions and 30 deletions.
61 changes: 31 additions & 30 deletions setup.py
Expand Up @@ -11,11 +11,11 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
version = '5.2.5.dev0'

import os
from setuptools import setup, find_packages

version = '5.2.5.dev0'

classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: Zope Public License
Expand Down Expand Up @@ -79,7 +79,7 @@ def emit(self, record):
suite = unittest.TestSuite()
base = pkg_resources.working_set.find(
pkg_resources.Requirement.parse('ZODB')).location
for dirpath, dirnames, filenames in os.walk(base):
for dirpath, _dirnames, filenames in os.walk(base):
if os.path.basename(dirpath) == 'tests':
for filename in filenames:
if filename.endswith('.py') and filename.startswith('test'):
Expand All @@ -96,35 +96,36 @@ def read(path):
with open(path) as f:
return f.read()

long_description = read("README.rst") + "\n\n" + read("CHANGES.rst")
long_description = read("README.rst") + "\n\n" + read("CHANGES.rst")

tests_require = [
'manuel',
'zope.testing',
'zope.testrunner >= 4.4.6',
]

setup(name="ZODB",
version=version,
author="Jim Fulton",
author_email="jim@zope.com",
maintainer="Zope Foundation and Contributors",
maintainer_email="zodb-dev@zope.org",
keywords="database nosql python zope",
packages = find_packages('src'),
package_dir = {'': 'src'},
url = 'http://www.zodb.org/',
license = "ZPL 2.1",
platforms = ["any"],
classifiers = list(filter(None, classifiers.split("\n"))),
description = long_description.split('\n', 2)[1],
long_description = long_description,
test_suite="__main__.alltests", # to support "setup.py test"
tests_require = tests_require,
extras_require = {
setup(
name="ZODB",
version=version,
author="Jim Fulton",
author_email="jim@zope.com",
maintainer="Zope Foundation and Contributors",
maintainer_email="zodb-dev@zope.org",
keywords="database nosql python zope",
packages=find_packages('src'),
package_dir={'': 'src'},
url='http://www.zodb.org/',
license="ZPL 2.1",
platforms=["any"],
classifiers=list(filter(None, classifiers.split("\n"))),
description=long_description.split('\n', 2)[1],
long_description=long_description,
test_suite="__main__.alltests", # to support "setup.py test"
tests_require=tests_require,
extras_require={
'test': tests_require,
},
install_requires = [
},
install_requires=[
'persistent >= 4.2.0',
'BTrees >= 4.2.0',
'ZConfig',
Expand All @@ -133,15 +134,15 @@ def read(path):
'zc.lockfile',
'zope.interface',
'zodbpickle >= 0.6.0',
],
zip_safe = False,
entry_points = """
],
zip_safe=False,
entry_points="""
[console_scripts]
fsdump = ZODB.FileStorage.fsdump:main
fsoids = ZODB.scripts.fsoids:main
fsrefs = ZODB.scripts.fsrefs:main
fstail = ZODB.scripts.fstail:Main
repozo = ZODB.scripts.repozo:main
""",
include_package_data = True,
)
""",
include_package_data=True,
)

0 comments on commit fe25025

Please sign in to comment.