fix hound comments

This commit is contained in:
Milan Kolar 2021-04-20 20:47:44 +02:00
parent 250d37b318
commit ace609fb41
2 changed files with 9 additions and 3 deletions

View file

@ -90,7 +90,7 @@ bdist_mac_options = dict(
executables = [
Executable("start.py", base=base,
target_name="openpype_gui", icon=icon_path.as_posix()),
target_name="openpype_gui", icon=icon_path.as_posix()),
Executable("start.py", base=None,
target_name="openpype_console", icon=icon_path.as_posix())
]

View file

@ -78,9 +78,15 @@ build_dir = "exe.{}-{}".format(get_platform(), sys.version[0:3])
# create full path
if platform.system().lower() == "darwin":
build_dir = Path(os.path.dirname(__file__)).parent / "build" / "OpenPype.app" / "Contents" / "MacOS"
build_dir = os.path.join(Path(os.path.dirname(__file__)).parent,
"build",
"OpenPype.app",
"Contents",
"MacOS")
else:
build_dir = Path(os.path.dirname(__file__)).parent / "build" / build_dir
build_dir = os.path.join(Path(os.path.dirname(__file__)).parent,
"build",
build_dir)
_print(f"Using build at {build_dir}", 2)
if not build_dir.exists():