Ticket #110: nodebox_py25_standalone.diff

File nodebox_py25_standalone.diff, 1.2 kB (added by flavio.curella@…, 13 months ago)

patch for compiling against python 2.5 and run also on Leopard

  • Users/go/working_copies/nodebox/src/macsetup.py

     
    5353        ], 
    5454        app = [dict(script='macboot.py', plist=plist)], 
    5555        options = dict(py2app=dict( 
    56             includes = ['DrawingPrimitives', 'Numeric'], 
     56            includes = ['DrawingPrimitives', 'numpy'], 
    5757            optimize = 2, 
    5858        )), 
    5959    ) 
  • Users/go/working_copies/nodebox/src/macbuild.sh

     
    33 
    44# First, make the help files. 
    55cd ../helpsrc 
    6 python2.3 makehelp.py 
     6python2.5 makehelp.py 
    77 
    88# Now build the application. 
    99# Semi-standalone means it bundles all the required modules, 
    1010# but not Python itself. 
    1111cd ../src 
    12 python2.3 macsetup.py py2app --semi-standalone 
     12python2.5 macsetup.py py2app 
    1313 
    1414# Due to a bug in PyObjC, the included site.py file is incorrect. 
    1515# We provide our own.