[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] py2exe problems
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] py2exe problems
- From: "Brian Fisher" <brian@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 22 Jan 2008 00:24:43 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 22 Jan 2008 03:24:52 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=kIfrfJrtH5YosTbG6K/VlV/SEm5pUYqxZnczo4saEdM=; b=uuR1JBaYClyJulTZOj7xSpDUlnl7Y5+S5XkX5+nTsNqNYJs9jBPSgt9lMIoXQCzufMZh87iNHQ0zRStrwByRuRaCIYy6dOpCLMKBKBU1InHZU8K5+hwrlfNuOqMSmBJf7qQ+TD1TxfEwhaeUM4zxF9re/dPbS4Gm6LP+Kcr46tA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=JyUywYDoQ2/VfCJCEd+VsEG7SQgb8ta/G2YzDAceOMNC2EAz3C3ddDzxs2r+7+B1nnuKUmc646ntzkdQTwt9mt9hWvnwdBQzo6dsjLCzRlhLc7FSDCXfC5ODCaCkO5dZ9lCqdZBXP2ZkeY/EiqLyyWt0t9AJRzcyFPXJj8UhFOE=
- In-reply-to: <a62fab400801211743r2a5ca40ci95429feea374a3de@xxxxxxxxxxxxxx>
- References: <a62fab400801211743r2a5ca40ci95429feea374a3de@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Is it python 2.5 with PyOpenGL 3.0?
If so, I think the problem has to do with eggs. PyOpenGL 3.x is
distributed using them, and py2exe doesn't support them.
I haven't actually got things working for myself yet, but thereis a
post by the PyOpenGL guy about it here:
http://blog.vrplumber.com/1762
he has two solutions, one involving adding the egg to the path,
another using some fixit script here:
http://pyopengl.cvs.sourceforge.net/pyopengl/OpenGL-ctypes/src/py2exeeggs.py?view=markup
...however neither worked for me, I get an error:
"ImportError: No module named pkg_resources"
hopefully you'll have more luck?
On Jan 21, 2008 5:43 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> Hi,
>
> I've got a great new program, which I want to make available to people
> without python. I'm compiling with py2exe. It's an OpenGL program, but
> py2exe says it can't find OpenGL.GL or OpenGL.GLU, the two modules I'm
> using. (In addition, pygame.movieext is missing, though I'm not using
> that). How can I get the OpenGL modules? The program runs fine, so I'm not
> missing OpenGL. I installed OpenGL using easy_install.
>
> Thanks,
> Ian
>