[Pythonmac-SIG] Py2app-built app giving error 255 on loading AppKit?

2013-05-21 Thread fsteele
I've built an app with Py2app. It runs as expected on my development machine, but on machines (10.7.5 and 10.8.2, at least) without a development environment, I get: testmini1:~ administrator$ /Users/administrator/Desktop/EasySetup.app/Contents/MacOS/EasySetup ; exit; Traceback (most recent cal

[Pythonmac-SIG] OSAscript from python doesn't trigger privileges prompt

2013-06-25 Thread fsteele
I'm writing a Python application that looks for a pkg file in a particular location, downloads it, and installs it. Using osascript -e and Python's subprocess.Popen(), I can embed: do shell script "sudo /usr/sbin/installer -pkg /path/to/file/filename.pkg -target /" with administrator privileges