Installation in brief
=====================
Non-Windows users should first build the bootloader:
cd source/linux
python ./Make.py
make
> I wasn't aware that I needed to -- I was following the instructions in
> the README:
>
> Installation in brief
>
> =====================
>
> Non-Windows users should first build the bootloader:
>
> cd source/linux
>
> python ./Make.py
>
> make
>
>
> I'm not sure how to build it on Windows -- it looks like you're using
> Visual Studio (which I don't have, though I could get). Perhaps you
> could update the README with instructions?
Cygwin is not Windows - so the above instructions for non-windows do apply.
Regards
--
Florian Höch
Just to make sure:
What is your purpose of using cygwin?
Are you using the cygwin version of Python?
if __name__ == "__main__":
print "hi"
The manual is pretty clear, did you read that?
http://www.pyinstaller.org/export/latest/tags/1.4/doc/Manual.html?format=raw
It explicitly says:
============================================================
Note: Windows users can skip this step, because PyInstaller already
ships with binary bootloaders.
============================================================
> I built the bootloader. The fact that the directory is named "linux"
> threw me off -- maybe it's worth renaming bootloader, and mentioning
> that Cygwin is included. Run.exe now exists.
As I said, Cygwin is not really supported at this point, I think there
is not even a feature request open in the Trac. I would not hold my
breath about it -- but if you are really interested in it and want to
come up with a patch yourself, I can provide some guidance.
> So now the EXE builds (I'm not using --onefile to keep things simple),
> but when I run it, nothing happens (at least Windows doesn't say it's
> not an application) -- I've tried a simple print statement on its own,
> and:
> if __name__ == "__main__":
> print "hi"
> and nothing prints out. I've tried running it in cmd.exe and in
> cygwin.
Try building in debug+console mode (you need both the debug build of the
bootloader, that should have been built already, and running Makespec.py
with --debug --console). Look at the output and see what it is going on.
> I am using Cygwin's python. I've been trying to use the standard win32
> installer of Python, but get errors when trying to build the
> bootloader (let alone trying any later steps) -- it fails in both
> Cygwin and in CMD: [...]
>
> Rather than me running around guessing -- are there clear instructions
> to build helloworld on Windows, in any configuration?
The manual has a complete walkthrough that covers all supported
operating systems, see the section "Getting Started". If you try with
the official Python version on Windows (which is not cygwin), you can
follow the instructions for Windows.
--