CVSROOT: /cvsroot/lilypond Module name: lilypond Branch: Changes by: Han-Wen Nienhuys <[EMAIL PROTECTED]> 05/06/27 12:25:14
Modified files: python : lilylib.py Log message: (datadir): py2exe comments. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/python/lilylib.py.diff?tr1=1.64&tr2=1.65&r1=text&r2=text Patches: Index: lilypond/python/lilylib.py diff -u lilypond/python/lilylib.py:1.64 lilypond/python/lilylib.py:1.65 --- lilypond/python/lilylib.py:1.64 Wed Apr 27 13:00:50 2005 +++ lilypond/python/lilylib.py Mon Jun 27 12:25:13 2005 @@ -46,6 +46,8 @@ # Customize these + +# UGH. - why? Py2exe barfs if __name__ == '__main__': import lilylib as ly global _;_=ly._ @@ -73,6 +75,8 @@ # there are recursion limits for some patterns in Python 1.6 til 2.1. # fix this by importing pre instead. Fix by Mats. + +# Ugh. py2exe barfs on conditional imports if float (sys.version[0:3]) <= 2.1: try: import pre @@ -86,6 +90,9 @@ # Attempt to fix problems with limited stack size set by Python! # Sets unlimited stack size. Note that the resource module only # is available on UNIX. + + +# Ugh. py2exe barfs on conditional imports try: import resource resource.setrlimit (resource.RLIMIT_STACK, (-1, -1)) _______________________________________________ Lilypond-cvs mailing list Lilypond-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-cvs