1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-05-19 05:06:24 +02:00

Merge pull request #351 from hugovk/rm-classifiers-warning

Fix Warning: 'classifiers' should be a list, got type 'filter'
This commit is contained in:
Hugo van Kemenade 2020-02-23 20:51:59 +02:00 committed by GitHub
commit 7486a35b6d
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,7 @@ import re
import sys
from glob import glob
CLASSIFIERS = filter(None, map(str.strip,
"""
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: BSD License
@ -22,7 +21,7 @@ Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.2
Programming Language :: Python :: 3.4
""".splitlines()))
"""
source_files = glob("./deps/double-conversion/double-conversion/*.cc")
source_files.append("./lib/dconv_wrapper.cc")
@ -98,5 +97,5 @@ setup(
platforms=['any'],
url="http://www.esn.me",
cmdclass = {'build_ext': build_ext, 'build_clib': build_clib_without_warnings},
classifiers=CLASSIFIERS,
classifiers=[x for x in CLASSIFIERS.split("\n") if x],
)