mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
copy dependencies into openpype.app on mac
This commit is contained in:
parent
29a04d913f
commit
2b488c5935
1 changed files with 5 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ import os
|
|||
import sys
|
||||
import site
|
||||
from distutils.util import get_platform
|
||||
import platform
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import blessed
|
||||
|
|
@ -76,7 +77,10 @@ _print(f"Working with: {site_pkg}", 2)
|
|||
build_dir = "exe.{}-{}".format(get_platform(), sys.version[0:3])
|
||||
|
||||
# create full path
|
||||
build_dir = Path(os.path.dirname(__file__)).parent / "build" / build_dir
|
||||
if platform.system().lower() == "darwin":
|
||||
build_dir = Path(os.path.dirname(__file__)).parent / "build" / "OpenPype.app" / "Contents" / "MacOS"
|
||||
else:
|
||||
build_dir = Path(os.path.dirname(__file__)).parent / "build" / build_dir
|
||||
|
||||
_print(f"Using build at {build_dir}", 2)
|
||||
if not build_dir.exists():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue