Hi,

WINPWD=`winepath -w \`pwd\``
You may want to use the $(...) syntax here, which is much easier to read and to nest:

WINPWD=$(winepath -w $(pwd))

I'm presuming that pywin32 has already been installed under wine
(which it has on my machine).  Now I just went ahead and installed the
latest stable version of Python into Wine as well (2.7) and so I'm
Well, you need to install everything into wine that you need for building your package. If your program requires pywin32, you should install it for Python 2.7 (pyinstaller does not require pywin32).
However, it seems that when I compile this for Windows, it doesn't
pull in any of my modules except the script I specify.  As soon as my
executable makes a call into one of the other files, it says "'module'
object has no attribute 'othermodulefunction'" as though the
'othermodulefunction' just doesn't exist.  It works just fine when I
compile it as a Linux binary though.
Please make sure, your example is working in Unix/Linux, then move forward to cross-bundling in wine. Try the same software version on both sides, this helps finding bugs. Esp. use the same version of PyInstaller in both cases.

HTH

--
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult mit Mitglied bei http://www.7-it.de


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to