Creating Python "executables" on Windows?
Robin Becker
robin at jessikat.fsnet.co.uk
Fri Aug 18 09:59:54 EDT 2000
In article <w1z9qAAlgRn5EwwW at jessikat.demon.co.uk>, Robin Becker
<robin at jessikat.fsnet.co.uk> writes
>I've been experimenting with Gordon's installer and find that under
>win98 at least it's doing absolutely the wrong thing wrt filename case.
it's seriously broken, even after I changed the names of my modules
I'm still getting
return imp.find_module(name, path)
NameError: Case mismatch for module name Pickle
(filename C:\Python\Lib\pickle.py)
This is certainly not one of mine.
>
>I see in builder.log lines like
> ('rlpingo.pingoGD', 'c:\\python\\rlpingo\\pingogd.py', 'm'),
>
>During the preliminary run of Simple.py I get the following error
>
> return imp.find_module(name, path)
>NameError: Case mismatch for module name pingogd
>(filename C:\Python\rlpingo\pingoGD.py)
>
>
>which is entirely correct. I don't think this is all Gordon's fault as
>
>>>> os.path.normcase(os.path.abspath('C:\\Python\\rlpingo\\pingoGD.py'))
>'c:\\python\\rlpingo\\pingogd.py'
>>>>
>
>ie maybe he should either be using normcase more carefully or perhaps
>rely more on __file__ as for me at least
>
>>>> import rlpingo.pingoGD
>>>> rlpingo.pingoGD.__file__
>'C:\\Python\\rlpingo\\pingoGD.pyc'
>>>>
--
Robin Becker
More information about the Python-list
mailing list