maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   How to package an app which uses a python module not available in pymaemo (https://talk.maemo.org/showthread.php?t=51829)

farhadi 2010-05-04 12:24

How to package an app which uses a python module not available in pymaemo
 
Hi,

I wrote a widget which uses PyICU module.
PyICU is not available in pymaemo packages so I built it myself using fremantle SDK.

Following py2deb instructions I tried to prepare my app for autobuilder and I put compiled pyicu files inside "/src/usr/lib/python2.5/site-packages" directory. but autobuilder failed with this error :
"Unable to recognise the format of the input file `debian/multical-date-widget/usr/lib/python2.5/site-packages/_PyICU.so'"
which is because PyICU is compiled for armel target I guess.

Can somebody tell me how can I package my app along with PyICU module?

Rob1n 2010-05-04 12:26

Re: How to package an app which uses a python module not available in pymaemo
 
I think you'll want to do two packages - one for pyICU and one for your app (which should depend on pyICU). Upload pyICU first then, once it's built, upload your app.

farhadi 2010-05-04 18:27

Re: How to package an app which uses a python module not available in pymaemo
 
Thanks Rob1n

Can somebody give me instructions on how to package PyICU for autobuilder.
(PyICU source: http://pypi.python.org/packages/sour...ICU-0.9.tar.gz)

Khertan 2010-05-05 07:44

Re: How to package an app which uses a python module not available in pymaemo
 
http://wiki.maemo.org/Py2deb

And mainly :

http://wiki.maemo.org/Talk:Py2deb


All times are GMT. The time now is 04:54.

vBulletin® Version 3.8.8