Jacob Kruger wrote:
> #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"]
Jacob Kruger wrote:
> Ok, then why is it not picking up that the 2 files are in fact in same
> folder at the time when I'm running the setup.py?
>
> All I have in the main file is the following in case that's an issue?:
>
> from mapDataFn import fnTakeItem
If you have main.py, setup.py, and mapDa
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
Ok, when I now type in the following command:
python setup.py py2exe
with the following code in setup.py:
#start code
from glob import glob
from distutils.core import setup
import py2exe
data_files = [("Microsoft.VC90.CRT", glob(r'C:\Program Files\Microsoft Visual
Studio 9.0\VC\redist\x86\Micros