Skip to content

Commit

Permalink
build: fix potential issues on macOS by using latest pyqtgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jul 3, 2019
1 parent c198960 commit ef2c891
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"h5py>=2.8.0",
"numpy>=1.9.0",
"pyqt5",
"pyqtgraph>=0.10.0",
#"pyqtgraph @ git+https://github.com/pyqtgraph/pyqtgraph.git@1ec175385e31c4e1e8dbe829b4387e4ac560082c",
#"pyqtgraph>=0.10.0",
"pyqtgraph @ git+https://github.com/pyqtgraph/pyqtgraph.git@1ec175385e31c4e1e8dbe829b4387e4ac560082c",
"scipy>=0.13.0"],
python_requires='>=3.6, <4',
setup_requires=['pytest-runner'],
Expand Down
3 changes: 1 addition & 2 deletions shapeout2/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ def main(splash=True):
import time

from PyQt5.QtWidgets import QApplication
# required by pyqtgraph
QApplication.setGraphicsSystem("raster")
import pyqtgraph # import before creating application

app = QApplication(sys.argv)
imdir = pkg_resources.resource_filename("shapeout2", "img")
Expand Down

0 comments on commit ef2c891

Please sign in to comment.