Skip to content

Commit

Permalink
Attempting to build compatible mac pkg (#156)
Browse files Browse the repository at this point in the history
Not working yet
  • Loading branch information
cfcurtis committed Feb 7, 2023
1 parent e9ae255 commit e354bf2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

mac-build:
if: ${{ github.event.inputs.mac }}
runs-on: macos-11 # 10.15 is deprecated :(
runs-on: macos-10.15 # 10.15 is deprecated, but still seems to work?
env:
MACOSX_DEPLOYMENT_TARGET: "10.9" # it can't be this easy, but let's try
steps:
Expand Down
5 changes: 4 additions & 1 deletion pdfstitcher_mac.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import os
from PyInstaller.utils.hooks import copy_metadata
import importlib.metadata
__version__ = importlib.metadata.version("pdfstitcher")

block_cipher = None
locale_paths = []
Expand Down Expand Up @@ -40,6 +42,7 @@ exe = EXE(
debug=False,
bootloader_ignore_signals=False,
strip=False,
# target_arch='universal2', # not yet working, fails on Pillow
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
Expand All @@ -50,7 +53,7 @@ app = BUNDLE(
name="pdfstitcher.app",
icon="pdfstitcher/resources/stitcher-icon.icns",
bundle_identifier="org.pdfstitcher",
version="0.5",
version=f"{__version__}",
info_plist={
"NSPrincipalClass": "NSApplication",
"NSAppleScriptEnabled": False,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pdfstitcher"
version = "0.7.1"
version = "0.7.2"
description = "The open source PDF stitching software for sewists, by sewists."
readme = "README.md"
requires-python = ">=3.8, <3.11"
Expand Down

0 comments on commit e354bf2

Please sign in to comment.