I can compile, but there's something strange at runtime: Old one (2.5): doing sys.path works
GNU Backgammon 0.90-mingw 20090825 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong. Copyright (C) 2009 by Gary Wong and the AUTHORS; for details type `show version' . This program comes with ABSOLUTELY NO WARRANTY; for details type `show warranty' . This is free software, and you are welcome to redistribute it under certain cond itions; type `show copying' for details. 'import site' failed; use -v for traceback (No game) > Python 2.5a2 (trunk:45884M, May 3 2006, 14:24:51) [GCC 3.4.2 (mingw-special)] >>> sys.path ['D:\\Documents\\gnubg\\python25.zip', 'D:\\Python25\\Lib', 'D:\\Python25\\DLLs' , 'D:\\Python25\\Lib\\lib-tk', '', 'D:\\Documents\\gnubg'] >>> New one (2.6.2): sys.path does not seem to work, like may other commands (e.g. import os). GNU Backgammon 0.90-mingw 20090902py26 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong. Copyright (C) 2009 by Gary Wong and the AUTHORS; for details type `show version'. This program comes with ABSOLUTELY NO WARRANTY; for details type `show warranty'. This is free software, and you are welcome to redistribute it under certain conditions; type `show copying' for details. (No game) > Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] >>> sys.path >>> >>> >>> MaX. 2009/9/2 Christian Anthon <[email protected]>: > I've only done superficial testing. Probably also needs some setup to > get the python path right. But it seems to work. The problem was that > the FILE struct was different in mingw and the official python. > > Christian. > > On Wed, Sep 2, 2009 at 9:22 AM, Massimiliano Maini<[email protected]> wrote: >> Hi Christian, >> >> I've seen your changes in gnubgmodule.c: do they allow to use python >> 2.6 in gnubg under Win ? >> >> MaX. >> > _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
