[python-qwt] 02/08: Imported Upstream version 6.1.2~a4
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Fri Aug 28 07:33:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository python-qwt.
commit fe87684b2a986f3e1d643670a758dbde8ca8622b
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date: Fri Aug 28 05:55:43 2015 +0200
Imported Upstream version 6.1.2~a4
---
LICENSE | 26 ++++++++----
PKG-INFO | 33 +++++++++++----
README | 22 +++++++---
python_qwt.egg-info/PKG-INFO | 40 ++++++++++++++++++
{qwt.egg-info => python_qwt.egg-info}/SOURCES.txt | 8 ++--
.../dependency_links.txt | 0
.../top_level.txt | 0
qwt.egg-info/PKG-INFO | 21 ----------
qwt/__init__.py | 5 +--
qwt/clipper.py | 3 +-
qwt/color_map.py | 3 +-
qwt/column_symbol.py | 3 +-
qwt/curve_fitter.py | 3 +-
qwt/dyngrid_layout.py | 3 +-
qwt/graphic.py | 3 +-
qwt/interval.py | 3 +-
qwt/legend.py | 3 +-
qwt/legend_data.py | 3 +-
qwt/legend_label.py | 3 +-
qwt/math.py | 3 +-
qwt/null_paintdevice.py | 3 +-
qwt/painter.py | 3 +-
qwt/painter_command.py | 3 +-
qwt/pixel_matrix.py | 3 +-
qwt/plot.py | 3 +-
qwt/plot_canvas.py | 3 +-
qwt/plot_curve.py | 3 +-
qwt/plot_directpainter.py | 3 +-
qwt/plot_grid.py | 3 +-
qwt/plot_histogram.py | 3 +-
qwt/plot_layout.py | 3 +-
qwt/plot_marker.py | 3 +-
qwt/plot_renderer.py | 3 +-
qwt/plot_seriesitem.py | 3 +-
qwt/point_data.py | 3 +-
qwt/point_mapper.py | 3 +-
qwt/sample.py | 3 +-
qwt/scale_div.py | 3 +-
qwt/scale_draw.py | 3 +-
qwt/scale_engine.py | 3 +-
qwt/scale_map.py | 3 +-
qwt/scale_widget.py | 3 +-
qwt/series_data.py | 3 +-
qwt/series_store.py | 3 +-
qwt/spline.py | 3 +-
qwt/symbol.py | 3 +-
qwt/text.py | 3 +-
qwt/text_engine.py | 3 +-
qwt/toqimage.py | 4 --
qwt/transform.py | 3 +-
setup.py | 48 +++++++++++++++-------
51 files changed, 181 insertions(+), 146 deletions(-)
diff --git a/LICENSE b/LICENSE
index c374748..bfd2601 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,5 +1,21 @@
-qwt License Agreement (MIT License)
------------------------------------
+python-qwt License Agreement
+----------------------------
+
+[1] Software licensed under the terms of Qwt License
+
+The essential part of the code was translated directly to Python from Qwt C++
+library and is thus licensed under the terms of the Qwt License 1.0 which is
+derived from LGPL (see included 'QwtLicense' file for more details).
+
+[2] Software licensed under the terms of the MIT license
+
+Independent Python modules purely based on new code (no contamination from the
+LGPL license inherited from the Qwt Project) are based on under the terms of
+the MIT License (see [*]). Those exceptions will be clearly mentioned in file
+header.
+
+
+[*] MIT license terms
Copyright (c) 2014-2015 Pierre Raybaut
@@ -23,9 +39,3 @@ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
-
-
-Included software
------------------
-
-License terms are included in any software used inside qwt's source code.
diff --git a/PKG-INFO b/PKG-INFO
index 351c14c..2d46c96 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,15 +1,34 @@
Metadata-Version: 1.1
-Name: qwt
-Version: 6.1.2a3
-Summary: qwt is a pure Python implementation of Qwt C++ library, using PyQt and NumPy
-Home-page: UNKNOWN
+Name: python-qwt
+Version: 6.1.2a4
+Summary: Qt plotting widgets for Python
+Home-page: https://github.com/PierreRaybaut/python-qwt
Author: Pierre Raybaut
Author-email: pierre.raybaut at gmail.com
License: UNKNOWN
-Description: UNKNOWN
-Platform: UNKNOWN
-Classifier: Topic :: Scientific/Engineering
+Description: The ``python-qwt`` project is a pure Python translation of the Qwt C++ library
+ which implements Qt widgets for plotting curves.
+ It consists of a single Python package named `qwt` (and examples, doc, ...).
+
+ The ``python-qwt`` project was initiated to solve -at least temporarily- the
+ obsolescence issue of `PyQwt` (the Python-Qwt C++ bindings library) which is
+ no longer maintained. The idea was to translate the Qwt C++ code to Python and
+ then to optimize some parts of the code by writing new modules based on NumPy
+ and other libraries.
+
+ The following ``Qwt`` classes won't be reimplemented in ``python-qwt`` because
+ most powerful features already exist in ``guiqwt``: QwtCounter, QwtPicker,
+ QwtPlotPicker, QwtPlotZoomer and QwtEventPattern.
+ QwtClipper is not implemented (and it will probably be very difficult or
+ impossible to implement it in pure Python without performance issues). As a
+ consequence, when zooming in a plot curve, the entire curve is still painted
+ (in other words, when working with large amount of data, there is no
+ performance gain when zooming in).
+Platform: Any
Classifier: Development Status :: 3 - Alpha
+Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
+Classifier: Topic :: Scientific/Engineering :: Visualization
+Classifier: Topic :: Software Development :: Widget Sets
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
diff --git a/README b/README
index e8b71ec..a141f6c 100644
--- a/README
+++ b/README
@@ -1,9 +1,21 @@
-qwt
-===
+python-qwt
+==========
-Copyright © 2014-2015 Pierre Raybaut
-Licensed under the terms of the MIT License (see qwt/LICENSE)
+ Written by Pierre Raybaut
+ The ``python-qwt`` project was initiated to solve -at least temporarily-
+ the obsolescence issue of `PyQwt` (the Python-Qwt C++ bindings library)
+ which is no longer maintained. The idea was to translate the Qwt C++ code
+ to Python and then to optimize some parts of the code by writing new
+ modules based on NumPy and other libraries.
+
+ The ``python-qwt`` project consists of a single Python package named `qwt`
+ and of a few other files (examples, doc, ...).
+
+ The `qwt` Python package was partly (95%) translated from Qwt C++ library:
+ the associated code is licensed under the terms of the Qwt license 1.0
+ (see qwt/QwtLicense). The rest of the code was wrote from scratch and is
+ licensed under the terms of the MIT License (see qwt/LICENSE).
Overview
@@ -35,4 +47,4 @@ Licensed under the terms of the MIT License (see qwt/LICENSE)
From the source package:
python setup.py install
-
\ No newline at end of file
+
diff --git a/python_qwt.egg-info/PKG-INFO b/python_qwt.egg-info/PKG-INFO
new file mode 100644
index 0000000..2d46c96
--- /dev/null
+++ b/python_qwt.egg-info/PKG-INFO
@@ -0,0 +1,40 @@
+Metadata-Version: 1.1
+Name: python-qwt
+Version: 6.1.2a4
+Summary: Qt plotting widgets for Python
+Home-page: https://github.com/PierreRaybaut/python-qwt
+Author: Pierre Raybaut
+Author-email: pierre.raybaut at gmail.com
+License: UNKNOWN
+Description: The ``python-qwt`` project is a pure Python translation of the Qwt C++ library
+ which implements Qt widgets for plotting curves.
+ It consists of a single Python package named `qwt` (and examples, doc, ...).
+
+ The ``python-qwt`` project was initiated to solve -at least temporarily- the
+ obsolescence issue of `PyQwt` (the Python-Qwt C++ bindings library) which is
+ no longer maintained. The idea was to translate the Qwt C++ code to Python and
+ then to optimize some parts of the code by writing new modules based on NumPy
+ and other libraries.
+
+ The following ``Qwt`` classes won't be reimplemented in ``python-qwt`` because
+ most powerful features already exist in ``guiqwt``: QwtCounter, QwtPicker,
+ QwtPlotPicker, QwtPlotZoomer and QwtEventPattern.
+ QwtClipper is not implemented (and it will probably be very difficult or
+ impossible to implement it in pure Python without performance issues). As a
+ consequence, when zooming in a plot curve, the entire curve is still painted
+ (in other words, when working with large amount of data, there is no
+ performance gain when zooming in).
+Platform: Any
+Classifier: Development Status :: 3 - Alpha
+Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)
+Classifier: Topic :: Scientific/Engineering :: Visualization
+Classifier: Topic :: Software Development :: Widget Sets
+Classifier: Operating System :: MacOS
+Classifier: Operating System :: Microsoft :: Windows
+Classifier: Operating System :: OS Independent
+Classifier: Operating System :: POSIX
+Classifier: Operating System :: Unix
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Requires: PyQt4 (>4.3)
diff --git a/qwt.egg-info/SOURCES.txt b/python_qwt.egg-info/SOURCES.txt
similarity index 85%
rename from qwt.egg-info/SOURCES.txt
rename to python_qwt.egg-info/SOURCES.txt
index 9580e11..d89c9b7 100644
--- a/qwt.egg-info/SOURCES.txt
+++ b/python_qwt.egg-info/SOURCES.txt
@@ -3,6 +3,10 @@ LICENSE
MANIFEST.in
README
setup.py
+python_qwt.egg-info/PKG-INFO
+python_qwt.egg-info/SOURCES.txt
+python_qwt.egg-info/dependency_links.txt
+python_qwt.egg-info/top_level.txt
qwt/__init__.py
qwt/clipper.py
qwt/color_map.py
@@ -46,10 +50,6 @@ qwt/text.py
qwt/text_engine.py
qwt/toqimage.py
qwt/transform.py
-qwt.egg-info/PKG-INFO
-qwt.egg-info/SOURCES.txt
-qwt.egg-info/dependency_links.txt
-qwt.egg-info/top_level.txt
qwt/qt/QtCore.py
qwt/qt/QtGui.py
qwt/qt/QtSvg.py
diff --git a/qwt.egg-info/dependency_links.txt b/python_qwt.egg-info/dependency_links.txt
similarity index 100%
rename from qwt.egg-info/dependency_links.txt
rename to python_qwt.egg-info/dependency_links.txt
diff --git a/qwt.egg-info/top_level.txt b/python_qwt.egg-info/top_level.txt
similarity index 100%
rename from qwt.egg-info/top_level.txt
rename to python_qwt.egg-info/top_level.txt
diff --git a/qwt.egg-info/PKG-INFO b/qwt.egg-info/PKG-INFO
deleted file mode 100644
index 351c14c..0000000
--- a/qwt.egg-info/PKG-INFO
+++ /dev/null
@@ -1,21 +0,0 @@
-Metadata-Version: 1.1
-Name: qwt
-Version: 6.1.2a3
-Summary: qwt is a pure Python implementation of Qwt C++ library, using PyQt and NumPy
-Home-page: UNKNOWN
-Author: Pierre Raybaut
-Author-email: pierre.raybaut at gmail.com
-License: UNKNOWN
-Description: UNKNOWN
-Platform: UNKNOWN
-Classifier: Topic :: Scientific/Engineering
-Classifier: Development Status :: 3 - Alpha
-Classifier: Operating System :: MacOS
-Classifier: Operating System :: Microsoft :: Windows
-Classifier: Operating System :: OS Independent
-Classifier: Operating System :: POSIX
-Classifier: Operating System :: Unix
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3
-Requires: PyQt4 (>4.3)
diff --git a/qwt/__init__.py b/qwt/__init__.py
index 659ca6d..6435118 100644
--- a/qwt/__init__.py
+++ b/qwt/__init__.py
@@ -1,10 +1,9 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
-__version__ = QWT_VERSION_STR = '6.1.2a3'
+__version__ = QWT_VERSION_STR = '6.1.2a4'
import warnings
diff --git a/qwt/clipper.py b/qwt/clipper.py
index 482544e..b37618d 100644
--- a/qwt/clipper.py
+++ b/qwt/clipper.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QPolygon, QPolygonF
diff --git a/qwt/color_map.py b/qwt/color_map.py
index 18f1c72..ab1047c 100644
--- a/qwt/color_map.py
+++ b/qwt/color_map.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QColor, qRed, qGreen, qBlue, qRgb, qRgba, qAlpha
diff --git a/qwt/column_symbol.py b/qwt/column_symbol.py
index a5ca51f..de14cfa 100644
--- a/qwt/column_symbol.py
+++ b/qwt/column_symbol.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.interval import QwtInterval
diff --git a/qwt/curve_fitter.py b/qwt/curve_fitter.py
index b68dcab..16e4903 100644
--- a/qwt/curve_fitter.py
+++ b/qwt/curve_fitter.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.spline import QwtSpline
diff --git a/qwt/dyngrid_layout.py b/qwt/dyngrid_layout.py
index 94cc505..53bdf90 100644
--- a/qwt/dyngrid_layout.py
+++ b/qwt/dyngrid_layout.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QLayout
diff --git a/qwt/graphic.py b/qwt/graphic.py
index 00ba1fc..23bfd3d 100644
--- a/qwt/graphic.py
+++ b/qwt/graphic.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.null_paintdevice import QwtNullPaintDevice
diff --git a/qwt/interval.py b/qwt/interval.py
index 2be5899..297692b 100644
--- a/qwt/interval.py
+++ b/qwt/interval.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
diff --git a/qwt/legend.py b/qwt/legend.py
index e76e79c..723d493 100644
--- a/qwt/legend.py
+++ b/qwt/legend.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.legend_data import QwtLegendData
diff --git a/qwt/legend_data.py b/qwt/legend_data.py
index 56b0f90..ca05ca3 100644
--- a/qwt/legend_data.py
+++ b/qwt/legend_data.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.text import QwtText
diff --git a/qwt/legend_label.py b/qwt/legend_label.py
index 267d028..2262c82 100644
--- a/qwt/legend_label.py
+++ b/qwt/legend_label.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.text import QwtTextLabel
diff --git a/qwt/math.py b/qwt/math.py
index 1d34ae2..6100e17 100644
--- a/qwt/math.py
+++ b/qwt/math.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtCore import qFuzzyCompare
diff --git a/qwt/null_paintdevice.py b/qwt/null_paintdevice.py
index 256bf16..1d66771 100644
--- a/qwt/null_paintdevice.py
+++ b/qwt/null_paintdevice.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QPaintEngine, QPainterPath, QPaintDevice
diff --git a/qwt/painter.py b/qwt/painter.py
index 24da569..8d9ce71 100644
--- a/qwt/painter.py
+++ b/qwt/painter.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.clipper import QwtClipper
diff --git a/qwt/painter_command.py b/qwt/painter_command.py
index 0aa7e26..e6e6b4e 100644
--- a/qwt/painter_command.py
+++ b/qwt/painter_command.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QPainterPath, QPaintEngine
diff --git a/qwt/pixel_matrix.py b/qwt/pixel_matrix.py
index f600f26..956d3b0 100644
--- a/qwt/pixel_matrix.py
+++ b/qwt/pixel_matrix.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtCore import QBitArray
diff --git a/qwt/plot.py b/qwt/plot.py
index b3f5112..16bcbc2 100644
--- a/qwt/plot.py
+++ b/qwt/plot.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import (QWidget, QFont, QSizePolicy, QFrame, QApplication,
diff --git a/qwt/plot_canvas.py b/qwt/plot_canvas.py
index 484171e..2c4d348 100644
--- a/qwt/plot_canvas.py
+++ b/qwt/plot_canvas.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.null_paintdevice import QwtNullPaintDevice
diff --git a/qwt/plot_curve.py b/qwt/plot_curve.py
index 2a4d5c5..7a77543 100644
--- a/qwt/plot_curve.py
+++ b/qwt/plot_curve.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.curve_fitter import QwtSplineCurveFitter
diff --git a/qwt/plot_directpainter.py b/qwt/plot_directpainter.py
index 7e51b80..eb59db4 100644
--- a/qwt/plot_directpainter.py
+++ b/qwt/plot_directpainter.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QPainter, QRegion
diff --git a/qwt/plot_grid.py b/qwt/plot_grid.py
index c98ae9e..3abeece 100644
--- a/qwt/plot_grid.py
+++ b/qwt/plot_grid.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.scale_div import QwtScaleDiv
diff --git a/qwt/plot_histogram.py b/qwt/plot_histogram.py
index a55d75b..cf0134b 100644
--- a/qwt/plot_histogram.py
+++ b/qwt/plot_histogram.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.plot_seriesitem import QwtPlotSeriesItem
diff --git a/qwt/plot_layout.py b/qwt/plot_layout.py
index 4a4c693..8ed5465 100644
--- a/qwt/plot_layout.py
+++ b/qwt/plot_layout.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.text import QwtText
diff --git a/qwt/plot_marker.py b/qwt/plot_marker.py
index 4961a39..24d455a 100644
--- a/qwt/plot_marker.py
+++ b/qwt/plot_marker.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.plot import QwtPlotItem
diff --git a/qwt/plot_renderer.py b/qwt/plot_renderer.py
index 2c3e390..2f8d61a 100644
--- a/qwt/plot_renderer.py
+++ b/qwt/plot_renderer.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from __future__ import division
diff --git a/qwt/plot_seriesitem.py b/qwt/plot_seriesitem.py
index 085d514..7a33f81 100644
--- a/qwt/plot_seriesitem.py
+++ b/qwt/plot_seriesitem.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.plot import QwtPlotItem, QwtPlotItem_PrivateData
diff --git a/qwt/point_data.py b/qwt/point_data.py
index b9828fd..9863ac4 100644
--- a/qwt/point_data.py
+++ b/qwt/point_data.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.series_data import QwtSeriesData, qwtBoundingRect
diff --git a/qwt/point_mapper.py b/qwt/point_mapper.py
index 9d4510a..d45509a 100644
--- a/qwt/point_mapper.py
+++ b/qwt/point_mapper.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
USE_THREADS = False # QtConcurrent is not supported by PyQt
diff --git a/qwt/sample.py b/qwt/sample.py
index 45665f6..bf962c3 100644
--- a/qwt/sample.py
+++ b/qwt/sample.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.interval import QwtInterval
diff --git a/qwt/scale_div.py b/qwt/scale_div.py
index 8c65308..29f22e8 100644
--- a/qwt/scale_div.py
+++ b/qwt/scale_div.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.interval import QwtInterval
diff --git a/qwt/scale_draw.py b/qwt/scale_draw.py
index e6fff11..dbc4e17 100644
--- a/qwt/scale_draw.py
+++ b/qwt/scale_draw.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.scale_div import QwtScaleDiv
diff --git a/qwt/scale_engine.py b/qwt/scale_engine.py
index e948975..baa523f 100644
--- a/qwt/scale_engine.py
+++ b/qwt/scale_engine.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from __future__ import division
diff --git a/qwt/scale_map.py b/qwt/scale_map.py
index 3cac351..41f97d0 100644
--- a/qwt/scale_map.py
+++ b/qwt/scale_map.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.math import qwtFuzzyCompare
diff --git a/qwt/scale_widget.py b/qwt/scale_widget.py
index deb84e4..a82b7a9 100644
--- a/qwt/scale_widget.py
+++ b/qwt/scale_widget.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.scale_draw import QwtScaleDraw
diff --git a/qwt/series_data.py b/qwt/series_data.py
index aba37a9..fc6f514 100644
--- a/qwt/series_data.py
+++ b/qwt/series_data.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.sample import QwtIntervalSample, QwtSetSample, QwtOHLCSample
diff --git a/qwt/series_store.py b/qwt/series_store.py
index 7fd8242..1313494 100644
--- a/qwt/series_store.py
+++ b/qwt/series_store.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtCore import QRectF
diff --git a/qwt/spline.py b/qwt/spline.py
index 6269f0f..826abb8 100644
--- a/qwt/spline.py
+++ b/qwt/spline.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QPolygonF
diff --git a/qwt/symbol.py b/qwt/symbol.py
index 5d91e9f..d9761bd 100644
--- a/qwt/symbol.py
+++ b/qwt/symbol.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.graphic import QwtGraphic
diff --git a/qwt/text.py b/qwt/text.py
index 0edb535..0b67bf0 100644
--- a/qwt/text.py
+++ b/qwt/text.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.painter import QwtPainter
diff --git a/qwt/text_engine.py b/qwt/text_engine.py
index a1c82a2..bd12221 100644
--- a/qwt/text_engine.py
+++ b/qwt/text_engine.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
from qwt.painter import QwtPainter
diff --git a/qwt/toqimage.py b/qwt/toqimage.py
index df625f9..da03195 100644
--- a/qwt/toqimage.py
+++ b/qwt/toqimage.py
@@ -1,8 +1,4 @@
# -*- coding: utf-8 -*-
-#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
-# (see qwt/LICENSE for details)
from qwt.qt.QtGui import QImage
diff --git a/qwt/transform.py b/qwt/transform.py
index 115a934..eeea68b 100644
--- a/qwt/transform.py
+++ b/qwt/transform.py
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
-# Licensed under the terms of the MIT License
+# Licensed under the terms of the Qwt License
# (see qwt/LICENSE for details)
import numpy as np
diff --git a/setup.py b/setup.py
index 5a91dc2..edb28f5 100644
--- a/setup.py
+++ b/setup.py
@@ -1,14 +1,13 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2014-2015 Pierre Raybaut
# Licensed under the terms of the MIT License
# (see qwt/LICENSE for details)
"""
-qwt
-====
+python-qwt
+==========
-Qt Widget Tools for Python
+Qt plotting widgets for Python
"""
from __future__ import print_function
@@ -21,13 +20,32 @@ import setuptools # analysis:ignore
from distutils.core import setup
from distutils.command.build import build
-LIBNAME = 'qwt'
+LIBNAME = 'python-qwt'
+PACKAGE_NAME = 'qwt'
from qwt import __version__ as version
-DESCRIPTION = 'qwt is a pure Python implementation of Qwt C++ library, using PyQt and NumPy'
-LONG_DESCRIPTION = ''
+DESCRIPTION = 'Qt plotting widgets for Python'
+LONG_DESCRIPTION = """\
+The ``python-qwt`` project is a pure Python translation of the Qwt C++ library
+which implements Qt widgets for plotting curves.
+It consists of a single Python package named `qwt` (and examples, doc, ...).
+
+The ``python-qwt`` project was initiated to solve -at least temporarily- the
+obsolescence issue of `PyQwt` (the Python-Qwt C++ bindings library) which is
+no longer maintained. The idea was to translate the Qwt C++ code to Python and
+then to optimize some parts of the code by writing new modules based on NumPy
+and other libraries.
+
+The following ``Qwt`` classes won't be reimplemented in ``python-qwt`` because
+most powerful features already exist in ``guiqwt``: QwtCounter, QwtPicker,
+QwtPlotPicker, QwtPlotZoomer and QwtEventPattern.
+QwtClipper is not implemented (and it will probably be very difficult or
+impossible to implement it in pure Python without performance issues). As a
+consequence, when zooming in a plot curve, the entire curve is still painted
+(in other words, when working with large amount of data, there is no
+performance gain when zooming in)."""
KEYWORDS = ''
-CLASSIFIERS = ['Topic :: Scientific/Engineering']
+CLASSIFIERS = []
if 'beta' in version or 'b' in version:
CLASSIFIERS += ['Development Status :: 4 - Beta']
elif 'alpha' in version or 'a' in version:
@@ -93,17 +111,19 @@ if sphinx:
setup(name=LIBNAME, version=version,
-# download_url='http://%s.googlecode.com/files/%s-%s.zip' % (
-# LIBNAME, LIBNAME, version),
description=DESCRIPTION, long_description=LONG_DESCRIPTION,
- packages=get_subpackages(LIBNAME),
- package_data={LIBNAME:
- get_package_data(LIBNAME, ('.png', '.svg', '.mo'))},
+ packages=get_subpackages(PACKAGE_NAME),
+ package_data={PACKAGE_NAME:
+ get_package_data(PACKAGE_NAME, ('.png', '.svg', '.mo'))},
requires=["PyQt4 (>4.3)",],
author = "Pierre Raybaut",
author_email = 'pierre.raybaut at gmail.com',
-# url = 'http://www.cea.fr',
+ url = 'https://github.com/PierreRaybaut/%s' % LIBNAME,
+ platforms = 'Any',
classifiers=CLASSIFIERS + [
+ 'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
+ 'Topic :: Scientific/Engineering :: Visualization',
+ 'Topic :: Software Development :: Widget Sets',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: OS Independent',
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-qwt.git
More information about the debian-science-commits
mailing list