Skip to content

Commit

Permalink
docs: add rpy2 to software list and ci: add hooks dir
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Feb 16, 2021
1 parent 450f54e commit ba9412f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ after_test:
- appveyor-retry pip install pyinstaller==4.1
# Run pyinstaller
- cd build-recipes
- pyinstaller -y --log-level=WARN win_ShapeOut2.spec
- pyinstaller -y --additional-hooks-dir . --log-level=WARN win_ShapeOut2.spec
# Run the binary (the most simple test)
- dist\\ShapeOut2\\ShapeOut2.exe --version
# Create InnoSetup installers
Expand Down
4 changes: 4 additions & 0 deletions shapeout2/gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import webbrowser

import dclab
from dclab.lme4.rlibs import rpy2, MockRPackage
import h5py
import numpy
import scipy
Expand Down Expand Up @@ -658,6 +659,9 @@ def on_action_software(self):
pg,
scipy,
]
if not isinstance(rpy2, MockRPackage):
libs.append(rpy2)

sw_text = "Shape-Out {}\n\n".format(__version__)
sw_text += "Python {}\n\n".format(sys.version)
sw_text += "Modules:\n"
Expand Down

0 comments on commit ba9412f

Please sign in to comment.