Commit d2095794 authored by Jim Fulton's avatar Jim Fulton

fixed and simplified classifier handling

parent 90ed6ec9
...@@ -41,7 +41,7 @@ tests_require = ['zope.testing', 'manuel', 'random2', 'mock'] ...@@ -41,7 +41,7 @@ tests_require = ['zope.testing', 'manuel', 'random2', 'mock']
if sys.version_info[:2] < (3, ): if sys.version_info[:2] < (3, ):
install_requires.extend(('futures', 'trollius')) install_requires.extend(('futures', 'trollius'))
classifiers = """\ classifiers = """
Intended Audience :: Developers Intended Audience :: Developers
License :: OSI Approved :: Zope Public License License :: OSI Approved :: Zope Public License
Programming Language :: Python :: 2 Programming Language :: Python :: 2
...@@ -56,7 +56,7 @@ Topic :: Software Development :: Libraries :: Python Modules ...@@ -56,7 +56,7 @@ Topic :: Software Development :: Libraries :: Python Modules
Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows
Operating System :: Unix Operating System :: Unix
Framework :: ZODB Framework :: ZODB
""" """.strip().split('\n')
def _modname(path, base, name=''): def _modname(path, base, name=''):
if path == base: if path == base:
...@@ -125,7 +125,7 @@ setup(name="ZEO", ...@@ -125,7 +125,7 @@ setup(name="ZEO",
package_dir = {'': 'src'}, package_dir = {'': 'src'},
license = "ZPL 2.1", license = "ZPL 2.1",
platforms = ["any"], platforms = ["any"],
classifiers = filter(None, classifiers.split("\n")), classifiers = classifiers,
test_suite="__main__.alltests", # to support "setup.py test" test_suite="__main__.alltests", # to support "setup.py test"
tests_require = tests_require, tests_require = tests_require,
extras_require = dict(test=tests_require), extras_require = dict(test=tests_require),
......
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