maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   From scratchbox to device per debian (https://talk.maemo.org/showthread.php?t=46473)

TheTall1 2010-03-04 13:58

From scratchbox to device per debian
 
Hi

After some hard tries I finally managed to install the python rdflib in scratchbox. Needed a newer gcc version.

All right after that i could use 'python setup.py install' to install the package and compile the SPARQLParser.c inside. Hurray!

But how can I now get the same on the N810?

I want to build a debian package out of the rdflib python-egg.
I've got a dummy package that installs fine, but the only content in
rules:install is 'python setup.py install' and thats not enough.

What do I miss? Where is some magic missing?

Thank you.

Bastian

TheTall1 2010-03-25 12:58

Re: From scratchbox to device per debian
 
So now the answer is almost too simple:

  1. Install gcc4.3 in scratchbox
  2. Install the modul via python setup.py bdist_dumb <- Thanks to Khertan
  3. Move the files from /dist/ to your pypackager project lib Make it look like that: /usr/lib/python2.5/rdflib /usr/lib/yourapp
  4. Be happy about the rather easy way to use python modules on the N810

That was the whole trick :cool:


All times are GMT. The time now is 08:31.

vBulletin® Version 3.8.8