Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2011-07-05 04:52:40 +0400
committerMitchell Stokes <mogurijin@gmail.com>2011-07-05 04:52:40 +0400
commitaf1e57c1f2c5d808692fbe4cf31835f9c55296ff (patch)
tree3e80f0aee14f44cf88b4b9eeb379e2e964b0f01b /game_engine_save_as_runtime.py
parenta6f0452eb818c5d8604f6cac5c9226c5d4400a59 (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.
Diffstat (limited to 'game_engine_save_as_runtime.py')
-rw-r--r--game_engine_save_as_runtime.py9
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):