On mer, 2009-03-04 at 16:32 +0100, Giovanni Bajo wrote:
> Hello,
> 
> when packaging an application on Linux, currently PyInstaller skips all
> the system libraries.
> 
> This means that the generated package still relies on those exact system
> libraries (with that exact name and version). In practice, the final
> package will work on computers using the same distribution (and possibly
> the same release of the distribution), but it will have troubles when
> run on a different distribution. Sometimes, the trouble is just because
> of the naming (eg: Ubuntu has libbz2.so.1.0, Fedora has libbz2.so.1).
> 
> So, a customer requested a way to generate executables with all the
> system libraries within, so to make them fully cross-distribution
> compatible. We have a patch ready for this (it's pretty easy: it just
> plays with the regexes at the top of bindepend.py). Of course, the
> package gets much bigger, but it works on many different distributions.
> 
> I'm wondering if we should make this a new default for PyInstaller, or
> not. Do you prefer your executables to be as slim as possible, but
> compatible with a single distribution? Or you prefer fatter executables
> which can run on any Linux system? Would you prefer a command line
> option?

Hello,

after all the feedback and some more brainstorming, I decided to just
commit the patch: it's now [652]. Since now, PyInstaller generates
executables which are, as much as possible, independent to the
distribution.

I am planning to add an option to revert to the previous behaviour, but
it's kind of low priority for me right now. Those who care can still
manually excludes specific system libraries through hand-editing
the .spec file.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to