Skip to content

Commit 89ad0ab

Browse files
committed
ci: add version string (#9) and try to fix missing dirs
1 parent 6f2054d commit 89ad0ab

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

build-recipes/hook-pyjibe.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
# Data files
1414
datas = collect_data_files("pyjibe", include_py_files=True)
1515
datas += collect_data_files("pyjibe", subdir="img")
16+
datas += collect_data_files("pyjibe", subdir="fd")
17+
datas += collect_data_files("pyjibe", subdir="head")
1618

1719
hiddenimports = ["mpl_toolkits",
1820
"mpl_toolkits.axes_grid1",

build-recipes/macos_PyJibe.spec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
from os.path import exists
33
import warnings
44

5+
from pyjibe._version import version
6+
7+
58
if not exists("./PyJibeLauncher.py"):
69
warnings.warn("Cannot find 'PyJibeLauncher.py'! Please run pyinstaller " +
710
"from the 'build-recipes' directory.")
@@ -46,5 +49,6 @@ app = BUNDLE(coll,
4649
bundle_identifier=None,
4750
info_plist = {
4851
'NSHighResolutionCapable' : 'True',
52+
'CFBundleShortVersionString' : version,
4953
}
5054
)

0 commit comments

Comments
 (0)