Hi Giovanni
Soooo glad you are online...maybe you can get me through my day :)
The problem with virtualenv and PyInstaller is that virtualenv installs the
Python framework binary ("Python") as ".Python" in the virtualenv and adjust
the main executable to reference it. I think he hides it on the filesystem
just for aesthetic reasons but it means that in launch.c where you do:
/* Determine the path */
#ifdef __APPLE__
sprintf(dllpath, "%sPython",
f_workpath ? f_workpath : f_homepath);
You cannot pick it up. If you wanted to be compatible, you could make your
code try both "Python" and ".Python"?
More issues coming up in further mails...hope you can help with them.
Jamie
2009/5/13 Giovanni Bajo <[email protected]>
>
> On mer, 2009-05-13 at 10:53 +0100, Jamie Kirkpatrick wrote:
>
> > Just posted this bug but the bug-tracker would not allow me to upload
> > the patch. I've enclosed it here.
>
> I think we just reopened new user registration on the website, using an
> antispam measure. You could try registering a new account; that way, you
> will be able to edit the bugs you open.
>
> > If this could be committed ASAP it would be great because I have
> > some code that needs to checkout a working version from SVN to work.
>
> Committed in [661], the patch is obviously right :)
>
> > There is a subsequent issue that still needs
> > resolving which is that virtualenv changes the name of the
> > Python
> > framework binary (from Python to .Python) which is not
> > compatible with
> > launch.c. I think the solution in this case is to get
> > virtualenv changed
> > so it does not change the name however.
>
> Can you please elaborate on exactly why the name change is a problem?
> Which part of launch.c gets confused?
> --
> Giovanni Bajo
> Develer S.r.l.
> http://www.develer.com
>
>
>
> >
>
--
Jamie Kirkpatrick
07818 422311
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" 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/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---