Put Python Site-Packages in ipk
Onen
onen.om at free.fr
Mon Mar 30 21:43:37 CEST 2009
Michael Pilgermann wrote:
> In order to allow people to easily install the program, I want to provide ipks for required software - unfortunately, they are not yet available in the distributions.
>
> My question is: Is there any simple, straight-forward way to put a Python site-package in an IPK? For the program PISI itself we use this approach (http://cc.oulu.fi/~rantalai/freerunner/packaging/); however, we do not need to install PISI as a site-package as it comes as an application itself.
>
> For me it looks like the toolchain thing is a bit of an overkill for my "small" problem and I was running into some troubles with path and so on as well.
>
For our application, we put files in:
[local directory used for building the
ipk]/usr/lib/python2.6/site-packages/name_of_the_package/name_of_the_module.py
and __init__.py
To do this, we simply add these exact path and files in the directory we
use for building the ipk.
Hope this helps,
Onen
More information about the devel
mailing list