Open Dima-369 opened 1 year ago
Same problem
Same here for M2.
@Dima-369 @jksmx I fixed the issue. Here is my setup.py. Please make sure that 'argv_emulation'
is False
as shown below and DATA_FILES
must be list[tuple[str, list[str]]]
.
This is my Hamster project. Hope I saved your day :)
APP = ['hamster/__main__.py']
APP_NAME = 'Hamster'
DATA_FILES = [('', ['hamster/app.properties']), ('img', ['hamster/img/hamster.png'])]
OPTIONS = {
'argv_emulation': False,
'iconfile': 'hamster/img/hamster.png',
'plist': {
'LSUIElement': True,
},
'packages': ['rumps', 'configparser', 'plistlib', 'os', 're', 'pathlib', 'psutil'],
}
Please make sure that 'argv_emulation' is False
Cool, this also works for me. Thanks 🙂
this worked for me too, thanks!
This happens on a M1 macOS 14.0.
test.py
setup.py
The error