[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

Re: [Pythonmac-SIG] py2app questions..

2013-06-25 Thread Ronald Oussoren
On 25 Jun, 2013, at 16:26, Chris Barker - NOAA Federal wrote: > Ronald, > > Did you mean this to go to the list? I've forwarded it on... I did probably use the wrong reply button :-( > > Anyway, thanks for the notes -- I'll keep all this in mind when I > build that app again. > >>> I've le

Re: [Pythonmac-SIG] py2app questions..

2013-06-25 Thread Chris Barker - NOAA Federal
Ronald, Did you mean this to go to the list? I've forwarded it on... Anyway, thanks for the notes -- I'll keep all this in mind when I build that app again. >> I've learned a few things from this. >> >> 1) this is odd: >> right near the top, I see: >> prescript.py >> imports: Image >>

Re: [Pythonmac-SIG] possible interaction between python

2013-06-25 Thread Ronald Oussoren
On 8 Apr, 2013, at 21:06, Boyd Collier wrote: > Hello All, > > In late February, I thought I'd give python a try, so I took steps to run it > on my Mac. Unfortunately, I didn't keep a good record of what those steps > were, but the installation seemed to be successful, in that I was able to

Re: [Pythonmac-SIG] possible interaction between python

2013-06-25 Thread Chris Weisiger
That is bizarre; Python should not be touching /bin/ls at all (if you're at all familiar with POSIX, 'ls' is the "list contents of directory" command). I'd be more inclined to suspect that your XCode has been corrupted somehow; perhaps reinstalling that might help. I wouldn't expect LLDB to depend

Re: [Pythonmac-SIG] Good way for beginner to get started with Python?

2013-06-25 Thread Samuel John
Hi Python is an excellent choice. More important than a good editor is ipython to interactively try out stuff and explore. My Editor is SublimeText (it's not free) but before that, I was happy with Text Wrangler. I hear that Text Mate 2 gets better. Some use IDLE for teaching, but I don't like

[Pythonmac-SIG] possible interaction between python

2013-06-25 Thread Boyd Collier
Hello All, In late February, I thought I'd give python a try, so I took steps to run it on my Mac. Unfortunately, I didn't keep a good record of what those steps were, but the installation seemed to be successful, in that I was able to run a few simple python programs. However, I now suspec

Re: [Pythonmac-SIG] cannot run python agent using launchd (Mountain Lion)

2013-06-25 Thread Samuel John
Hi css aka. bakwards-bent spangled spanner :-) On 17.03.2013, at 07:16, spangled spanner wrote: > The script will not execute and console log shows me the following: > > Mar 17 11:53:37 my-MacBook-Pro kernel[0]: CODE SIGNING: >cs_invalid_page(0x1048fe000): p=1134[python] clea

[Pythonmac-SIG] site-packages.zip

2013-06-25 Thread Yaser Ahmed
Is it possible to have py2app exclude the site-packages.zip. I have tried no_zip = 1. Thanks; Yaser ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman

Re: [Pythonmac-SIG] py2app error when launching built app

2013-06-25 Thread Alex Honeywell
Framework build. I believe it had something to do with a bad environment (I was using virtualenv when I was getting this error and there were a few pathing conflicts). I deleted everything and made a more isolated Python environment with homebrew in /usr/local and it works fine now. On Mon, Dec 2