Skip to content

Commit

Permalink
ci: add version string (#9) and try to fix missing dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Feb 2, 2021
1 parent 6f2054d commit 89ad0ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-recipes/hook-pyjibe.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# Data files
datas = collect_data_files("pyjibe", include_py_files=True)
datas += collect_data_files("pyjibe", subdir="img")
datas += collect_data_files("pyjibe", subdir="fd")
datas += collect_data_files("pyjibe", subdir="head")

hiddenimports = ["mpl_toolkits",
"mpl_toolkits.axes_grid1",
Expand Down
4 changes: 4 additions & 0 deletions build-recipes/macos_PyJibe.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
from os.path import exists
import warnings

from pyjibe._version import version


if not exists("./PyJibeLauncher.py"):
warnings.warn("Cannot find 'PyJibeLauncher.py'! Please run pyinstaller " +
"from the 'build-recipes' directory.")
Expand Down Expand Up @@ -46,5 +49,6 @@ app = BUNDLE(coll,
bundle_identifier=None,
info_plist = {
'NSHighResolutionCapable' : 'True',
'CFBundleShortVersionString' : version,
}
)

0 comments on commit 89ad0ab

Please sign in to comment.