# put ourselves in our own activity dir for convenience. import developactivity activity_root = os.path.split(developactivity.__file__)[0] os.chdir(activity_root) #append to sys.path for the activity-local python packages. sys.path.append(os.path.join(activity_root, 'site-packages'))