diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-07-05 04:52:40 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-07-05 04:52:40 +0400 |
commit | af1e57c1f2c5d808692fbe4cf31835f9c55296ff (patch) | |
tree | 3e80f0aee14f44cf88b4b9eeb379e2e964b0f01b | |
parent | a6f0452eb818c5d8604f6cac5c9226c5d4400a59 (diff) |
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.
-rw-r--r-- | game_engine_save_as_runtime.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/game_engine_save_as_runtime.py b/game_engine_save_as_runtime.py index 588b0904..4e4a36d5 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): |