When running my python script before creating the executable, I can run 
either:

distutils.spawn.find_executable('Package')

or

def cmd_exists(cmd):
    return subprocess.call("type " + cmd, shell=True, 
        stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0


to see if a given package exists on the user's system. However, it always 
returns None/False when run within the pyinstaller-created executable. I am 
assuming it is only searching within the dist folder; is there a way to 
correct this?

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to