Skip to content

Commit

Permalink
Update spec file and rev the version number.
Browse files Browse the repository at this point in the history
Signed-off-by: FERMI\Joey Kleingers <joey.kleingers@bluequartz.net>
  • Loading branch information
joeykleingers committed Jun 9, 2023
1 parent bd898b7 commit 9237c46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion metaforge/VERSION
@@ -1 +1 @@
1.0.0
1.0.1
12 changes: 6 additions & 6 deletions packaging/win64.spec
Expand Up @@ -5,8 +5,8 @@ from pathlib import Path
hiddenimports = []
hiddenimports += collect_submodules('metaforge')

# parent_path = Path(__file__).resolve().parent
version_filepath = Path('metaforge') / 'VERSION'
parent_path = Path('metaforge').parent.parent
version_filepath = parent_path / 'metaforge' / 'VERSION'
version_filepath = version_filepath.absolute()
with open(str(version_filepath)) as version_file:
version = version_file.read().strip()
Expand All @@ -15,10 +15,10 @@ block_cipher = None


a = Analysis(
['metaforge/__main__.py'],
['../metaforge/__main__.py'],
pathex=[],
binaries=[],
datas=[('metaforge/VERSION', '.'), ('metaforge', 'metaforge')],
datas=[('../metaforge/VERSION', '.'), ('../metaforge', 'metaforge')],
hiddenimports=hiddenimports,
hookspath=[],
hooksconfig={},
Expand Down Expand Up @@ -47,7 +47,7 @@ exe = EXE(
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=['resources/Images/MetaForge.ico'],
icon=['../resources/Images/MetaForge.ico'],
)
coll = COLLECT(
exe,
Expand All @@ -62,7 +62,7 @@ coll = COLLECT(
app = BUNDLE(
coll,
name='MetaForge.app',
icon='resources/Images/MetaForge.ico',
icon='../resources/Images/MetaForge.ico',
bundle_identifier=None,
version=version,
)

0 comments on commit 9237c46

Please sign in to comment.