Skip to content

Commit b7ba8cc

Browse files
committed
Dissociate python-qwt version numbering from Qwt: restarting at 0.1
1 parent 02bf7e4 commit b7ba8cc

File tree

4 files changed

+27
-20
lines changed

4 files changed

+27
-20
lines changed

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= History of changes =
22

3-
== Version 6.1.2 ==
3+
== Version ??? ==
44

55
First public release.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ powerful features already exist in `guiqwt`: `QwtPlotZoomer`,
4949
Only the following plot items are currently implemented in `qwt` (the
5050
only plot items needed by `guiqwt`): `QwtPlotItem` (base class),
5151
`QwtPlotItem`, `QwtPlotMarker`, `QwtPlotSeriesItem`, `QwtPlotHistogram`,
52-
`QwtPlotCurve`
52+
`QwtPlotCurve`.
5353

5454
The `QwtClipper` class is not implemented yet (and it will probably be
5555
very difficult or even impossible to implement it in pure Python without

qwt/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# Copyright (c) 2015 Pierre Raybaut, for the Python translation/optimization
66
# (see LICENSE file for more details)
77

8-
__version__ = QWT_VERSION_STR = '6.1.2a7'
8+
__version__ = '0.1.0'
9+
QWT_VERSION_STR = '6.1.2'
910

1011
import warnings
1112

setup.py

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,35 @@
2727

2828
DESCRIPTION = 'Qt plotting widgets for Python'
2929
LONG_DESCRIPTION = """\
30-
The ``python-qwt`` project is a pure Python translation of the Qwt C++ library
31-
which implements Qt widgets for plotting curves.
32-
It consists of a single Python package named `qwt` (and examples, doc, ...).
33-
3430
The ``python-qwt`` project was initiated to solve -at least temporarily- the
3531
obsolescence issue of `PyQwt` (the Python-Qwt C++ bindings library) which is
36-
no longer maintained. The idea was to translate the Qwt C++ code to Python and
37-
then to optimize some parts of the code by writing new modules based on NumPy
38-
and other libraries.
39-
40-
The following ``Qwt`` classes won't be reimplemented in ``python-qwt`` because
41-
most powerful features already exist in ``guiqwt``: QwtCounter, QwtPicker,
42-
QwtPlotPicker, QwtPlotZoomer and QwtEventPattern.
43-
QwtClipper is not implemented (and it will probably be very difficult or
44-
impossible to implement it in pure Python without performance issues). As a
45-
consequence, when zooming in a plot curve, the entire curve is still painted
46-
(in other words, when working with large amount of data, there is no
47-
performance gain when zooming in)."""
32+
no longer maintained. The idea was to translate the original Qwt C++ code to
33+
Python and then to optimize some parts of the code by writing new modules
34+
based on NumPy and other libraries.
35+
36+
37+
The ``python-qwt`` package consists of a single Python package named `qwt`
38+
which is a pure Python implementation of Qwt C++ library with the following
39+
limitations.
40+
41+
The following `Qwt` classes won't be reimplemented in `qwt` because more
42+
powerful features already exist in `guiqwt`: `QwtPlotZoomer`, `QwtCounter`,
43+
`QwtEventPattern`, `QwtPicker`, `QwtPlotPicker`.
44+
45+
Only the following plot items are currently implemented in `qwt` (the only
46+
plot items needed by `guiqwt`): `QwtPlotItem` (base class), `QwtPlotItem`,
47+
`QwtPlotMarker`, `QwtPlotSeriesItem`, `QwtPlotHistogram`, `QwtPlotCurve`.
48+
49+
The `QwtClipper` class is not implemented yet (and it will probably be
50+
very difficult or even impossible to implement it in pure Python without
51+
performance issues). As a consequence, when zooming in a plot curve, the
52+
entire curve is still painted (in other words, when working with large
53+
amount of data, there is no performance gain when zooming in)."""
4854
KEYWORDS = ''
4955
CLASSIFIERS = []
5056
if 'beta' in version or 'b' in version:
5157
CLASSIFIERS += ['Development Status :: 4 - Beta']
52-
elif 'alpha' in version or 'a' in version:
58+
elif 'alpha' in version or 'a' in version or version.startswith('0.'):
5359
CLASSIFIERS += ['Development Status :: 3 - Alpha']
5460
else:
5561
CLASSIFIERS += ['Development Status :: 5 - Production/Stable']

0 commit comments

Comments
 (0)