Comment 3 for bug 245836

eduo (eduo) wrote :

sofauxboho: I'm stuck in the exact same place for a week now. I've tried doing several things (in fact mimicking the py2exe set-up) without much luck. The Py2exe file contains instructions to go above a directory and place the installer in "subdownloader", which is supposed to take care of this, but I haven't been able to replicate:

http://bazaar.launchpad.net/~subdownloader-developers/subdownloader/trunk/files/312?file_id=packages-20080705144745-lkxq3zojzz4376xl-1

These lines are supposed to take care of this:
import os, sys
os.chdir("..") #We are in the distribution subfolder, we want to be in subdownloader folder.
(parent, current) = os.path.split(os.path.dirname(os.getcwd()))
sys.path.insert(0, os.path.dirname(parent))
sys.path.insert(0, os.getcwd())

But I'm finding other errors. I haven't been able to put as much time into this as I'd like but this file may point you in the right direction. It may just be a matter of adding the proper path.