Skip to content

Commit fc13b4b

Browse files
committed
setup.py: minor improvement regarding classifiers
1 parent e9fcee0 commit fc13b4b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

setup.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@
2626
DESCRIPTION = 'qwt is a pure Python implementation of Qwt C++ library, using PyQt and NumPy'
2727
LONG_DESCRIPTION = ''
2828
KEYWORDS = ''
29-
CLASSIFIERS = [
30-
'Development Status :: 3 - Alpha',
31-
# 'Development Status :: 5 - Production/Stable',
32-
'Topic :: Scientific/Engineering']
29+
CLASSIFIERS = ['Topic :: Scientific/Engineering']
30+
if 'alpha' in version:
31+
CLASSIFIERS += ['Development Status :: 3 - Alpha']
32+
elif 'beta' in version:
33+
CLASSIFIERS += ['Development Status :: 4 - Beta']
34+
else:
35+
CLASSIFIERS += ['Development Status :: 5 - Production/Stable']
3336

3437

3538
def get_package_data(name, extlist):

0 commit comments

Comments
 (0)