Skip to content
Snippets Groups Projects
Commit d232c425 authored by Campbell Barton's avatar Campbell Barton
Browse files

get the version string a slightly better way

parent 101c9e3f
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ def WriteAppleRuntime(player_path, output_path, copy_python, overwrite_lib): ...@@ -52,7 +52,7 @@ def WriteAppleRuntime(player_path, output_path, copy_python, overwrite_lib):
if copy_python: if copy_python:
print("Copying Python files...", end=" ") print("Copying Python files...", end=" ")
src = os.path.join(blender_dir, bpy.app.version_string.split()[0], "python", "lib") src = os.path.join(blender_dir, "%d.%d" % bpy.app.version[:2], "python", "lib")
dst = os.path.join(output_path, "..") dst = os.path.join(output_path, "..")
if os.path.exists(dst): if os.path.exists(dst):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment