Skip to content

Commit

Permalink
fixed and simplified classifier handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Jul 8, 2016
1 parent 90ed6ec commit d209579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -41,7 +41,7 @@
if sys.version_info[:2] < (3, ):
install_requires.extend(('futures', 'trollius'))

classifiers = """\
classifiers = """
Intended Audience :: Developers
License :: OSI Approved :: Zope Public License
Programming Language :: Python :: 2
Expand All @@ -56,7 +56,7 @@
Operating System :: Microsoft :: Windows
Operating System :: Unix
Framework :: ZODB
"""
""".strip().split('\n')

def _modname(path, base, name=''):
if path == base:
Expand Down Expand Up @@ -125,7 +125,7 @@ def emit(self, record):
package_dir = {'': 'src'},
license = "ZPL 2.1",
platforms = ["any"],
classifiers = filter(None, classifiers.split("\n")),
classifiers = classifiers,
test_suite="__main__.alltests", # to support "setup.py test"
tests_require = tests_require,
extras_require = dict(test=tests_require),
Expand Down

0 comments on commit d209579

Please sign in to comment.