OSX/scons: copy release/site-packages for OSX ( static py for now )

This commit is contained in:
Jens Verwiebe 2014-03-04 18:41:19 +01:00
parent add6384213
commit 976fd68082

@ -751,6 +751,8 @@ def AppIt(target=None, source=None, env=None):
commands.getoutput(cmd)
cmd = 'unzip -q %s/release/%s -d %s/%s.app/Contents/MacOS/%s/python/'%(libdir,python_zip,installdir,binary,VERSION)
commands.getoutput(cmd)
cmd = 'cp -R %s/release/site-packages/ %s/%s.app/Contents/MacOS/%s/python/lib/python3.3/site-packages/'%(libdir,installdir,binary,VERSION)
commands.getoutput(cmd)
cmd = 'chmod +x %s/%s.app/Contents/MacOS/%s'%(installdir,binary, binary)
commands.getoutput(cmd)