Skip to content

Commit

Permalink
Allow backslashes in path separators
Browse files Browse the repository at this point in the history
  • Loading branch information
UuuNyaa committed Jan 5, 2023
1 parent 792f353 commit e1014cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion motion_generate_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
bl_info = {
"name": "motion_generate_tools",
"author": "UuuNyaa",
"version": (0, 0, 6),
"version": (0, 0, 7),
"blender": (3, 3, 0),
"location": "View3D > Sidebar > Panel",
"description": "Utility tools for motion generating.",
Expand Down
2 changes: 1 addition & 1 deletion motion_generate_tools/setup_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def delete_clip_model():


def install_python_modules(use_gpu=False, line_callback: Optional[LineCallback] = None, finally_callback: Optional[FinallyCallback] = None):
site_packages_path = next((p for p in sys.path if p.endswith('/site-packages')), None)
site_packages_path = next((p for p in sys.path if p.endswith('site-packages')), None)
target_option = ['--target', site_packages_path] if site_packages_path else []

_get_command_executor().exec_command(
Expand Down

0 comments on commit e1014cf

Please sign in to comment.