Skip to content

Commit 58e6c0d

Browse files
committed
Pass setup.py classifiers as an array
1 parent bb4c4df commit 58e6c0d

1 file changed

Lines changed: 14 additions & 17 deletions

File tree

setup.py

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,19 @@
1919

2020
from fuseparts import __version__
2121

22-
classifiers = """\
23-
Development Status :: 5 - Production/Stable
24-
Intended Audience :: Developers
25-
License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
26-
Environment :: Console,
27-
Operating System :: POSIX
28-
Programming Language :: C
29-
Programming Language :: Python,
30-
Programming Language :: Python :: 2,
31-
Programming Language :: Python :: 2.7,
32-
Programming Language :: Python :: 3,
33-
Programming Language :: Python :: 3.5,
34-
Programming Language :: Python :: 3.6,
35-
Programming Language :: Python
36-
Topic :: System :: Filesystems
37-
"""
22+
classifiers = [ "Development Status :: 5 - Production/Stable",
23+
"Intended Audience :: Developers",
24+
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
25+
"Environment :: Console",
26+
"Operating System :: POSIX",
27+
"Programming Language :: C",
28+
"Programming Language :: Python",
29+
"Programming Language :: Python :: 2",
30+
"Programming Language :: Python :: 2.7",
31+
"Programming Language :: Python :: 3",
32+
"Programming Language :: Python :: 3.5",
33+
"Programming Language :: Python :: 3.6",
34+
"Topic :: System :: Filesystems" ]
3835

3936
class MyDistribution(Distribution):
4037
"""
@@ -109,7 +106,7 @@ def setup(**kwargs):
109106
setup (name = 'fuse-python',
110107
version = __version__,
111108
description = 'Bindings for FUSE',
112-
classifiers = [_f for _f in classifiers.split("\n") if _f],
109+
classifiers = classifiers,
113110
license = 'LGPL',
114111
platforms = ['posix'],
115112
url = 'https://github.com/libfuse/python-fuse',

0 commit comments

Comments
 (0)