On Wed, 2010-05-26 at 15:00 -0700, Jono Spiro wrote:
> Because I'm using a makefile and am most familiar with Cygwin; and
> there aren't really any good Windows building instructions that I am
> aware of -- I didn't know you could do it any other way.

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.

-- 
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it
Last post: Grey on black: combining greylisting with blacklists

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to