maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Help] PyPackager make.py options (Solved+Solution) (https://talk.maemo.org/showthread.php?t=71927)

humble 2011-04-09 15:02

[Help] PyPackager make.py options (Solved+Solution)
 
is there any way i can set LD_LIBRARY_PATH?

Khertan 2011-04-09 15:44

Re: [Help] PyPackager make.py options
 
Depends where you want to put it ?

If it s in the debian/rules file, the answer is no. Else you can.


#!/bin/sh
export LD_LIBRARY_PATH=/usr/local/my_lib:$LD_LIBRARY_PATH
exec /usr/lib/python2.5/site-packages/mywonderfullsoftware.py

humble 2011-04-09 16:01

Re: [Help] PyPackager make.py options
 
how would i if its debian/rules? (im having bulider issues) take alook https://garage.maemo.org/builder/fre...ngine_0.0.1-2/

humble 2011-04-09 20:39

Re: [Help] PyPackager make.py options
 
i found out. you have to edit

Code:

/usr/lib/python2.5/site-packages/pypackager/__init__.py
and instead of setting it. i tell it not to even check.. just comment "dh_shlibdeps";)

Khertan 2011-04-10 06:21

Re: [Help] PyPackager make.py options (Solved+Solution)
 
Hum you are building a source package with binary file to build a binary package. PyPackager was made mainly for building package for interpreted language like python, sh, ....


All times are GMT. The time now is 01:11.

vBulletin® Version 3.8.8