Skip to content

Commit

Permalink
rebuild at every release
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jul 3, 2019
1 parent a6b3630 commit d506c45
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis/osx_build_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ DMG="./dist_app/${NAMEVERSION}.dmg"
TMP="./dist_app/pack.temp.dmg"
pip install pyinstaller

# cleanup from previous builds
rm -rf ./build
rm -rf ./dist_app

# Work in a different directory (./dist_app instead of ./dist),
# otherwise PyPI deployment on travis-CI tries to upload *.dmg files.
pyinstaller -w -y --distpath="./dist_app" --additional-hooks-dir=".travis" $SCRIPT
Expand Down
3 changes: 2 additions & 1 deletion shapeout2/gui/matrix_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def update_content(self, quickview=False):
if do_quickview:
color = "#F0A1D6"
label += "\n(QV)"
self.quickview_selected.emit()
if quickview:
self.quickview_selected.emit()

self.setStyleSheet("background-color:{}".format(color))
self.label.setStyleSheet("background-color:{}".format(color))
Expand Down
2 changes: 1 addition & 1 deletion shapeout2/gui/quick_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, *args, **kwargs):
path_ui = pkg_resources.resource_filename(
"shapeout2.gui", "quick_view.ui")
uic.loadUi(path_ui, self)
self.setWindowTitle("Quick View")
self.setWindowTitle("Quick View (QV)")
self.scatter_plot = self.widget_scatter.plot
self.scatter_plot.sigClicked.connect(self.clicked)

Expand Down

0 comments on commit d506c45

Please sign in to comment.