Re: [tuxdroid-user] Portable makefiles and python path
Status: Beta
Brought to you by:
ks156
From: Kiffin G. <kif...@pl...> - 2007-03-27 08:14:09
|
David Bourgeois wrote: > On Mon, 26 Mar 2007 18:54:29 +0200, Kiffin Gish > <kif...@pl...> wrote: > >> Hi folks! >> >> I would like to see a more generic and portable use of the makefiles, >> e.g. C_INCLUDE_DIRS, LIB_DIRS, LIBS and the use of PYTHONPATH so that >> applications like gtdi.py can fine the api without using hardcoded >> values, e.g. sys.path.append('/opt/tuxdroid/api/python'). Evertime I >> need to rebuild the trunk I have to redit the lot which is a pain after >> a while. Thanks alot in advance. >> >> See my thread here: >> http://www.tuxisalive.com/tux-droid-forum/forumtopic1/958671085 >> > > Hi Kiffin, > > There are plans to move to autoconf and that should solve your > problems I think. Now I don't know autoconf myself so either it'll > take the time for me to learn it or someone else will get it done > before. > In the mean time, I'll apply your changes to the Makefile, they sound > good to me. > > For the usb_detach_kernel_driver_np, as there's no kernel driver for > tux, I guess we simply don't need it. > > The python api should be packaged with distutils as that's the best > way to do it but I have no idea when we will get that done either. As > of the use of PYTHONPATH, I don't see exactly how that could be done > properly. You can probably set it directly in your .bashrc file (or > equivalent in BSD). The way I do it for now is to have a simple script in each directory called setpythonpath which points to the correct python-api dirctory. Not really elegant, but it works. > > Anyway thanks for the information. > david > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >tux-droid-user mailing list >tux...@li... >https://lists.sourceforge.net/lists/listinfo/tux-droid-user > > -- Kiffin Gish <kif...@pl...> The Netherlands |