Skip to content

Commit 48c6f08

Browse files
committed
Version normalization (alpha-->a, beta-->b) + setup.py: minor changes
1 parent 4f99956 commit 48c6f08

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

qwt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Licensed under the terms of the MIT License
55
# (see qwt/LICENSE for details)
66

7-
__version__ = QWT_VERSION_STR = '6.1.2alpha3'
7+
__version__ = QWT_VERSION_STR = '6.1.2a3'
88

99
import warnings
1010

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import sys
1818
import os.path as osp
1919

20+
import setuptools # analysis:ignore
2021
from distutils.core import setup
2122
from distutils.command.build import build
2223

@@ -27,10 +28,10 @@
2728
LONG_DESCRIPTION = ''
2829
KEYWORDS = ''
2930
CLASSIFIERS = ['Topic :: Scientific/Engineering']
30-
if 'alpha' in version:
31-
CLASSIFIERS += ['Development Status :: 3 - Alpha']
32-
elif 'beta' in version:
31+
if 'beta' in version or 'b' in version:
3332
CLASSIFIERS += ['Development Status :: 4 - Beta']
33+
elif 'alpha' in version or 'a' in version:
34+
CLASSIFIERS += ['Development Status :: 3 - Alpha']
3435
else:
3536
CLASSIFIERS += ['Development Status :: 5 - Production/Stable']
3637

0 commit comments

Comments
 (0)