Active Topics

 


Reply
Thread Tools
Posts: 12 | Thanked: 1 time | Joined on Sep 2009
#1
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
 
Posts: 12 | Thanked: 1 time | Joined on Sep 2009
#2
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:30.