On Sat, 24 Mar 2007 21:13:25 +0100, Florent THIERY <[EMAIL PROTECTED]>
wrote:
line 31: sys.path.append('/opt/tuxdroid/api/python')
To get around this I have a simple script:
#!/bin/sh
export PYTHONPATH=~/tuxdroid/python-api
I do : sys.path.append('/opt/tuxdroid/api/python/trunk') which is even
uglier :)
I think the best thing would be to package the api and put a debian
repo up, or script the svn update such as: if update is found, cp -R
trunk/ ../ ... But again it's ugly...
I think i'm gonna move the svn root to another place
(/opt/tuxdroid-svn and make copies whenever an update is found to
/opt/droid/tuxdroid ... but i don't know how to detect the new
version..
I think we should package the api using distutils so the tux module will
be available as any other python module.
Regarding svn, you don't need to name a checked out folder the same as the
repository. Here you should do a checkout of trunk in the
/opt/tuxdroid/api/python folder directly:
rm -rf /opt/tuxdroid/api/python/*
svn co http://svn.tuxisalive.com/api/python/trunk /opt/tuxdroid/api/python
so you can update easily and don't need to change anything in the
applications.
(yes the svn has moved, I'll give you more information soon)
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-user