Commit fe250250 authored by Jason Madden's avatar Jason Madden

Cleanup whitespace in setup.py

parent 7fb15fe5
......@@ -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
......@@ -79,7 +79,7 @@ def alltests():
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'):
......@@ -104,27 +104,28 @@ tests_require = [
'zope.testrunner >= 4.4.6',
]
setup(name="ZODB",
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,
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 = {
tests_require=tests_require,
extras_require={
'test': tests_require,
},
install_requires = [
install_requires=[
'persistent >= 4.2.0',
'BTrees >= 4.2.0',
'ZConfig',
......@@ -134,8 +135,8 @@ setup(name="ZODB",
'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
......@@ -143,5 +144,5 @@ setup(name="ZODB",
fstail = ZODB.scripts.fstail:Main
repozo = ZODB.scripts.repozo:main
""",
include_package_data = True,
)
include_package_data=True,
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment