Interesting. My Python 2.5 certainly does not require that code and
only Python 2.4 and earlier required it. I am running 2.5.1 on Fedora
8 which may or may not make a difference. Can you give some idea as to
how it failed? Thanks.

Anthony

On Tue, May 13, 2008 at 1:22 PM, Jonathan Wright <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I downloaded your source package cx_Freeze-4.0b1.tar.gz and did:
>
> $ python setup.py build
>
> ... and it failed on this ubuntu (hardy heron) system with python2.5. In
> your setup file you have some lines:
>
>        if sys.platform != "win32":
>            if sys.version_info[:2] < (2, 5):
>                vars = distutils.sysconfig.get_config_vars()
>                ... do important stuff ...
>
>
> Changing the (2, 5) to (2, 6) means it builds for me. Can't really see
> how that would work for 2.5 otherwise? After that the
> samples/simple/hello.py could be built with python setup.py build and
> the exe appears to run. I have not tested any further yet.
>
> Thanks for making the code available. Perhaps someone could suggest a
> better fix if this one isn't correct.
>
> Best wishes,
>
> Jon
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> cx-freeze-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to