Jacob Kruger wrote:
> Ok, when I now type in the following command:
> python setup.py py2exe
> ...
> It seems to be generating the following exception/error, based on the line 
> where I assume I'm trying to tell it to include the contents of the file, 
> mapDataFn.py?
>
> #error text from console window
>     raise ImportError, "No module named " + qname
> ImportError: No module named c:\temp\pythonScripts\mapDataFn
>
> Should I rather copy that file to somewhere else, and then just tell it to do 
> something like:
> "includes" : ["mapDataFn"]

Yes.  When you run py2exe, all of the modules you need should be laid
out on disk exactly as they would if you were running the script.  The
"includes" list, as you see, runs an "import" statement on the modules
you name.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to