Changes to the hacks the horrible shite known as py2app requires with keyring *today*. draft

Mon, 02 Jun 2025 14:58:39 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 02 Jun 2025 14:58:39 -0500
changeset 149
4d5cb76f86a2
parent 148
ff975e768112
child 150
f94987ced25e

Changes to the hacks the horrible shite known as py2app requires with keyring *today*.

borgend/repository.py file | annotate | diff | comparison | revisions
pyproject.toml file | annotate | diff | comparison | revisions
--- a/borgend/repository.py	Mon Jun 02 08:38:59 2025 -0500
+++ b/borgend/repository.py	Mon Jun 02 14:58:39 2025 -0500
@@ -8,7 +8,7 @@
 env=os.environ.copy()
 if '_PY2APP_LAUNCHED_' in env:
     # Horrible hack to make keyring work with the shit known as py2app.
-    from keyring.backends.OS_X import Keyring
+    from keyring.backends.macOS import Keyring
     import keyring
     keyring.set_keyring(Keyring())
 else:
--- a/pyproject.toml	Mon Jun 02 08:38:59 2025 -0500
+++ b/pyproject.toml	Mon Jun 02 14:58:39 2025 -0500
@@ -1,3 +1,3 @@
 [build-system]
-requires = ["setuptools", "wheel", "py2app", "ssdpy"]
+requires = ["setuptools", "wheel", "py2app", "ssdpy", "keyring"]
 build-backend = "setuptools.build_meta"

mercurial