From af1e57c1f2c5d808692fbe4cf31835f9c55296ff Mon Sep 17 00:00:00 2001 From: Mitchell Stokes <mogurijin@gmail.com> Date: Tue, 5 Jul 2011 00:52:40 +0000 Subject: [PATCH] Save as Runtime: We don't need to copy Python for OS X since on OS X the blenderplayer is built with Python already bundled in the .app folder. --- game_engine_save_as_runtime.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/game_engine_save_as_runtime.py b/game_engine_save_as_runtime.py index 588b0904a..4e4a36d56 100644 --- a/game_engine_save_as_runtime.py +++ b/game_engine_save_as_runtime.py @@ -66,14 +66,7 @@ def WriteAppleRuntime(player_path, output_path, copy_python, overwrite_lib): bpy.ops.wm.save_as_mainfile(filepath=output_path+"/Contents/Resources/game.blend", copy=True) - # Copy bundled Python - blender_dir = os.path.dirname(bpy.app.binary_path) - - if copy_python: - print("Copying Python files...", end=" ") - dst = os.path.join(output_path, "..") - CopyPythonLibs(dst, overwrite_lib) - print("done") + # Python doesn't need to be copied for OS X since it's already inside blenderplayer.app def WriteRuntime(player_path, output_path, copy_python, overwrite_lib, copy_dlls): -- GitLab