On Sun, Aug 22, 2010 at 1:20 PM, Bradlee Landis <bradleelan...@gmail.com> wrote: > On Sat, Aug 21, 2010 at 10:26 PM, Anthony Tuininga > <anthony.tuini...@gmail.com> wrote: >>> 2. If it's possible, place the plugins in an external path that can be >>> modified. This would allow for installing/removing plugins. Am I able >>> to do this without Python installed on a computer? >> >> Certainly. The frozen executable has a Python interpreter built in so >> it can quite happily load any Python script you give it -- provided >> that the modules that it references are already included in your >> library.zip. That means you have to use the includes directive for all >> modules that you don't use in the core but which you might possibly >> wish to use in a plugin. Make sense? > > Hm, so I can only import from the zip file? I was talking about using > a location on the file system. Something created by the installer. I > could probably use `__import__()` since `import` gets intercepted by > the script, or is that intercepted as well?
No, you can import from anywhere you would like -- provided that place is found on the target machine. The zip file is the most logical place but you can also distribute Python modules in the file system if you would like -- your choice. :-) Anthony ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users