We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e9c70d commit 9e0319aCopy full SHA for 9e0319a
2 files changed
pyproject.toml
@@ -21,7 +21,8 @@ dependencies = [
21
"petab>=0.6.0",
22
"qtawesome",
23
"copasi-basico",
24
- "copasi-petab-importer"
+ "copasi-petab-importer",
25
+ "pyobjc; sys_platform == 'darwin'"
26
]
27
license-files = ["LICENSE"]
28
src/petab_gui/app.py
@@ -134,6 +134,13 @@ def main():
134
)
135
args = parser.parse_args()
136
137
+ if sys.platform == "darwin":
138
+ from Foundation import NSBundle # type: type: ignore[import]
139
+
140
+ bundle = NSBundle.mainBundle()
141
+ info = bundle.localizedInfoDictionary() or bundle.infoDictionary()
142
+ info["CFBundleName"] = APP_NAME
143
144
app = PEtabGuiApp(args.petab_yaml)
145
sys.exit(app.exec())
146
0 commit comments