[egenix-users] pyrun -- adding libraries
John R. Frank
jrf at mit.edu
Mon Feb 4 09:48:49 CET 2013
>>>> My goal is use pyrun to deploy a python program that depends on the
>>>> lxml python module, which needs libxslt.so.1, libexslt.so.0,
>>>> These are available on my Ubuntu build system from the debian
>>>> packages libxml2 and libxslt -- and I could rebuild them from source.
>>>> How does one get PyRun to incorporate such additional libraries, so I
>>>> can then deploy pyrun (and our custom program) to other machines that
>>>> do not have any of these libraries?
>>> Additional libraries can be included in pyrun, but only if the libs
>>> can be statically linked and the Python extensions interfacing to them
>>> support static linking as well.
>>> One of the things we'd like to do is make the configuration of such
>>> things easier. At the moment, this requires digging deep into the way
>>> the pyrun is built.
>>> You have to add a corresponding section for the Python extension to
>>> Runtime/Setup.PyRun-2.7 and the include_list in Runtime/makepyrun.py
>> I don't see "Runtime" in the stuff downloaded by install-pyrun, and
>> while the web page  mentions a source tarball, I cannot find a link
>> to download a source archive for pyrun. Am I missing it on that page?
> The Runtime/ dir is part of the source tarball. It is not included in
> the binary archives that install-pyrun fetches from our site.
> Please see the download section for the download link:
Found it, thanks! Reading it.
Strategy question: what do you see as the advantages or differences
between building PyRun-based deploy and building a chroot containing
python and all our dependencies using something like deboostrap ?
Thanks for your expertise on this.
 - https://wiki.ubuntu.com/DebootstrapChroot
More information about the egenix-users