Skip to content

Commit

Permalink
win32timezone no longer required
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Oct 10, 2024
1 parent 286727c commit 9a4b4dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packaging/naturtag.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ datas = [
(str(ASSETS_DATA_DIR / '*.qss'), 'assets/data'),
(str(ASSETS_DATA_DIR / '*.tar.gz'), 'assets/data'),
]
hiddenimports = []


# Define platform-specific dependencies
if is_win:
binaries = [
(str(LIB_DIR_WIN / 'exiv2.dll'), '.'),
(str(LIB_DIR_WIN / f'py{BUILD_PY_VERSION}-win' / 'exiv2api.pyd'), '.'),
]
hiddenimports = ['win32timezone']
elif is_darwin:
binaries = [
(str(LIB_DIR_NIX / 'libexiv2.dylib'), '.'),
Expand All @@ -55,7 +54,7 @@ a = Analysis(
pathex=[str(PROJECT_DIR)],
binaries=binaries,
datas=datas,
hiddenimports=hiddenimports,
hiddenimports = [],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
Expand Down

0 comments on commit 9a4b4dc

Please sign in to comment.