diff --git a/examples/__main__.py b/examples/__main__.py index 877e105c..03c41119 100644 --- a/examples/__main__.py +++ b/examples/__main__.py @@ -1,14 +1,14 @@ import sys, os -import pyqtgraph as pg -import subprocess -from pyqtgraph.python2_3 import basestring -from pyqtgraph.Qt import QtGui, USE_PYSIDE, USE_PYQT5 - if __name__ == "__main__" and (__package__ is None or __package__==''): parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, parent_dir) import examples __package__ = "examples" +import pyqtgraph as pg +import subprocess +from pyqtgraph.python2_3 import basestring +from pyqtgraph.Qt import QtGui, USE_PYSIDE, USE_PYQT5 + from .utils import buildFileList, testFile, path, examples diff --git a/examples/utils.py b/examples/utils.py index 7dfa7e45..3ff265c4 100644 --- a/examples/utils.py +++ b/examples/utils.py @@ -144,7 +144,6 @@ except: while True: c = process.stdout.read(1).decode() output += c - print(output) #sys.stdout.write(c) #sys.stdout.flush() if output.endswith('test complete'):