1
From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca@synchrotron-soleil.fr>
2
Date: Thu, 7 Apr 2011 22:27:09 +0200
3
Subject: feature fix the documentation build
5
this patch was provided by the upstream and force python
6
to reload the guiqwt module when generating the documentation
7
that way there is no more fail to import _ext module.
10
1 files changed, 1 insertions(+), 0 deletions(-)
12
diff --git a/setup.py b/setup.py
13
index 3e6e681..f8d52b3 100644
16
@@ -43,6 +43,7 @@ def get_package_data(name, extlist):
19
from guiqwt import __version__ as version
20
+del sys.modules[LIBNAME] # forcing Python to reload module (see build_doc.run)
22
DESCRIPTION = 'guiqwt is a set of tools for curve and image plotting (extension to PyQwt 5.2)'