Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Christopher Barker
On 1/18/11 2:47 PM, Mier, Alejandro wrote: I modified the included distutils files, and managed to get this stack trace Traceback (most recent call last): File "distutils/dist.py", line 837, in get_command_class __import__ (module_name) File "distutils/command/install.py", line 21, in

Re: [Pythonmac-SIG] Python development on OSX

2011-01-18 Thread Bill Janssen
Christopher Barker wrote: > On 1/17/11 9:17 AM, Bill Janssen wrote: > >> And- I want to update the default python that came om my macbook pro to > >> 2.7. > >> Should I do install that from Python.org? > > > > My advice? I've never had good luck trying to "update" the default > > Python that co

Re: [Pythonmac-SIG] Python development on OSX

2011-01-18 Thread Christopher Barker
On 1/17/11 9:17 AM, Bill Janssen wrote: And- I want to update the default python that came om my macbook pro to 2.7. Should I do install that from Python.org? My advice? I've never had good luck trying to "update" the default Python that comes with the Mac. Bill -- I'm really curious what is

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Christopher Barker
On 1/18/11 9:05 AM, João Vale wrote: Do you have distutils installed? It usually doesn't come bundled with Python. huh? Sure it does -- distutils has been standard in Python for many many years. So that's not it. Besides, if you can run it unbundled, you have the packages you need, the que

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Mier, Alejandro
Hi Sridhar Your suggestion to debug this problem started me in the right path. I found a workaround for the issue. First, I explicitly included distutils in my py2app bundle. With that, the error I get is: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py -

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Sridhar Ratnakumar
On Tue, Jan 11, 2011 at 9:42 AM, Mier, Alejandro wrote: > Hello > > I have a script that installs Python, and then installs some modules with: > > subprocess.call("python setup.py install") > > The script works on Windows with py2exe, but gives me this error when using > py2app: > > File setup.py

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread João Vale
Do you have distutils installed? It usually doesn't come bundled with Python. It can be installed with easy_install: easy_install distutils Cheers, João On Tue, Jan 18, 2011 at 4:27 PM, Mier, Alejandro wrote: > Hi > > > > I am using a separate Python install (ActivePython 2.6 ), so that’s no

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Mier, Alejandro
Hi I am using a separate Python install (ActivePython 2.6 ), so that's not it Thanks -- Alejandro Mier y Concha From: pythonmac-sig-bounces+alejandro=ti@python.org [mailto:pythonmac-sig-bounces+alejandro=ti@python.org] On Behalf Of Chris Weisiger Sent: Tues

Re: [Pythonmac-SIG] Installing modules with py2app

2011-01-18 Thread Chris Weisiger
Did you build the app bundle with the Python that came with OSX, or did you install a separate Python install from python.org and use that? You have to do the latter; py2app's not allowed to include components of the operating system in the apps it generates. Windows gets around this problem by not