>
> On Mon, Mar 3, 2008 at 4:41 PM, Casey Duncan
> <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Mon, Mar 3, 2008 at 3:09 PM, Nathan <[EMAIL PROTECTED]>
>> wrote:
>>> [..]
>>>
>>> $ python setup.py py2app
>>> Traceback (most recent call last):
>>> File "setup.py", line 12, in <module>
>>> import ez_setup
>>> ImportError: No module named ez_setup
>>>
>>> Hmmm. Is ez_setup a third-party tool?
>>
>> Yes, it's part of the setuptools package.
>
> Ok, there's a disconnect somewhere. I found the setuptools site,
> started going through their install, which says it's already
> installed.
>
> $ python ez_setup.py
> Setuptools version 0.6c8 or greater has been installed.
> (Run "ez_setup.py -U setuptools" to reinstall or upgrade.)
>
> ...but, still, after adding the suggested lines to my setup.py, which
> looks like this:
>
> $ cat setup.py
> """
> This is a setup.py script generated by py2applet
>
> Usage:
> python setup.py py2app
> """
>
> # from setuptools import setup
>
> from setuptools import setup,find_packages
> import sys
> import ez_setup
>
> ez_setup.use_setuptools()
>
>
> APP = ['running-man.py']
> DATA_FILES = ['images']
> OPTIONS = {'argv_emulation': True}
>
> setup(
> app=APP,
> data_files=DATA_FILES,
> options={'py2app': OPTIONS},
> setup_requires=['py2app'],
> )
>
See thats really weird. I just ran my own setup.py for mactorii, and
it works with leopard python. Except if I run leopard python and try
to import ez_setup, it similarly fails. I have no idea whats
happening....
Hrm, actually, how did you install py2app and twisted? Might be some
confusion occurring here with concurrent python distributions.
Cheers,
Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---