Skip to content

Commit 90b5372

Browse files
committed
Added missing LONG_DESCRIPTION field to setup.py
1 parent 289b09a commit 90b5372

File tree

1 file changed

+27
-10
lines changed

1 file changed

+27
-10
lines changed

setup.py

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
# (see qwt/LICENSE for details)
66

77
"""
8-
qwt
9-
====
8+
python-qwt
9+
==========
1010
11-
Qt Widget Tools for Python
11+
Qt plotting widgets for Python
1212
"""
1313

1414
from __future__ import print_function
@@ -21,11 +21,30 @@
2121
from distutils.core import setup
2222
from distutils.command.build import build
2323

24-
LIBNAME = 'qwt'
24+
LIBNAME = 'python-qwt'
25+
PACKAGE_NAME = 'qwt'
2526
from qwt import __version__ as version
2627

27-
DESCRIPTION = 'qwt is a pure Python implementation of Qwt C++ library, using PyQt and NumPy'
28-
LONG_DESCRIPTION = ''
28+
DESCRIPTION = 'Qt plotting widgets for Python'
29+
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+
34+
The ``python-qwt`` project was initiated to solve -at least temporarily- the
35+
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)."""
2948
KEYWORDS = ''
3049
CLASSIFIERS = ['Topic :: Scientific/Engineering']
3150
if 'beta' in version or 'b' in version:
@@ -92,17 +111,15 @@ def run(self):
92111
cmdclass['build_doc'] = build_doc
93112

94113

95-
setup(name=LIBNAME, version=version,
96-
# download_url='http://%s.googlecode.com/files/%s-%s.zip' % (
97-
# LIBNAME, LIBNAME, version),
114+
setup(name=PACKAGE_NAME, version=version,
98115
description=DESCRIPTION, long_description=LONG_DESCRIPTION,
99116
packages=get_subpackages(LIBNAME),
100117
package_data={LIBNAME:
101118
get_package_data(LIBNAME, ('.png', '.svg', '.mo'))},
102119
requires=["PyQt4 (>4.3)",],
103120
author = "Pierre Raybaut",
104121
author_email = 'pierre.raybaut@gmail.com',
105-
# url = 'http://www.cea.fr',
122+
url = 'https://github.com/PierreRaybaut/%s' % LIBNAME,
106123
classifiers=CLASSIFIERS + [
107124
'Operating System :: MacOS',
108125
'Operating System :: Microsoft :: Windows',

0 commit comments

Comments
 (0)