export LOCALPATH=/c cd $LOCALPATH/code/python/launcher sudo python setup.py develop
stopping here waiting to see what pose_local will offer (glue, pyglet)
export LOCALPATH=/c #keeping these here so they can be further developed locally cd $LOCALPATH/code/python/osbrowser sudo python setup.py develop cd $LOCALPATH/code/python/medialist sudo python setup.py develop
import sys, os print sys.path[0]
will print the directory where this script resides. additionally you can use
sys.argv[0]
to get the filename of the script. to join the two do
os.path.join(sys.path[0], sys.argv[0])
if module should be installed on new systems, be sure to add it to: /c/system/startup.sh (/c/system/startup-python.sh is for non-locally developed modules)
then run install commands on your system so it is available for development:
remember that colors are (usually) specified as floating point numbers with values between 0 and 1.0