[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2652] trunk/py/scripts/addons/ game_engine_save_as_runtime.py: Fixing the lib/lib issue.
Mitchell Stokes
mogurijin at gmail.com
Thu Nov 24 00:27:40 CET 2011
Revision: 2652
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2652
Author: moguri
Date: 2011-11-23 23:27:39 +0000 (Wed, 23 Nov 2011)
Log Message:
-----------
Fixing the lib/lib issue.
Modified Paths:
--------------
trunk/py/scripts/addons/game_engine_save_as_runtime.py
Modified: trunk/py/scripts/addons/game_engine_save_as_runtime.py
===================================================================
--- trunk/py/scripts/addons/game_engine_save_as_runtime.py 2011-11-23 22:31:30 UTC (rev 2651)
+++ trunk/py/scripts/addons/game_engine_save_as_runtime.py 2011-11-23 23:27:39 UTC (rev 2652)
@@ -20,8 +20,8 @@
'name': 'Save As Game Engine Runtime',
'author': 'Mitchell Stokes (Moguri)',
'version': (0, 3, 1),
- "blender": (2, 5, 8),
- "api": 37846,
+ "blender": (2, 6, 1),
+ "api": 42107,
'location': 'File > Export',
'description': 'Bundle a .blend file with the Blenderplayer',
'warning': '',
@@ -48,7 +48,8 @@
# '/usr/lib/python3.2' vs '/usr/lib'
# append python's library dir name to destination, so only python's
# libraries would be copied
- dst = os.path.join(dst, os.path.basename(src))
+ if os.name == 'posix':
+ dst = os.path.join(dst, os.path.basename(src))
if os.path.exists(src):
write = False
More information about the Bf-extensions-cvs
mailing list