Commit graph

22 commits

Author SHA1 Message Date
Jakub Trllo
3ae020f064
Applications: Launch hooks cleanup (#5395)
* ApplicationManager can have more granular way how applications are launched

* executable is optional to be able create ApplicationLaunchContext

* launch context can run prelaunch hooks without launching application

* 'get_app_environments_for_context' is using launch context to prepare environments

* added 'launch_type' as one of filtering options for LaunchHook

* added 'local' launch type filter to existing launch hooks

* define 'automated' launch type in remote publish function

* modified publish and extract environments cli commands

* launch types are only for local by default

* fix import

* fix launch types of global host data

* change order or kwargs

* change unreal filter attribute

* use set instead of list

* removed '__init__' from celaction hooks

* use 'CELACTION_ROOT_DIR' in pre setup

* use full import from applications
2023-08-03 12:24:23 +02:00
Jakub Trllo
7e9f42b447
Applications: Use prelaunch hooks to extract environments (#5387)
* ApplicationManager can have more granular way how applications are launched

* executable is optional to be able create ApplicationLaunchContext

* launch context can run prelaunch hooks without launching application

* 'get_app_environments_for_context' is using launch context to prepare environments

* added 'launch_type' as one of filtering options for LaunchHook

* added 'local' launch type filter to existing launch hooks

* define 'automated' launch type in remote publish function

* modified publish and extract environments cli commands

* launch types are only for local by default

* fix import

* fix launch types of global host data

* change order or kwargs

* change unreal filter attribute
2023-08-03 10:04:15 +02:00
Jakub Jezek
c8e7b7c264
improving names 2023-06-27 11:37:33 +02:00
Jakub Jezek
3e9ac5935d
separate the startup script logic from workfile hook 2023-06-27 11:36:13 +02:00
Jakub Jezek
14e7a914ce
ensure startup.py will by always added to environment 2023-06-26 15:37:22 +02:00
Roy Nieterau
990737623b Cosmetics 2023-05-30 12:20:17 +02:00
Roy Nieterau
279b3dc767 Set explicit startup script path 2023-05-30 12:09:53 +02:00
Roy Nieterau
b7b8125d70 Use .scriptlib for Resolve startup launch script entry point 2023-05-26 23:23:06 +02:00
Jakub Ježek
915c093485
Update openpype/hosts/resolve/hooks/pre_resolve_setup.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-23 13:55:58 +02:00
Alexey Bogomolov
a5fde96638 formatting 2023-05-17 11:47:08 +03:00
Alexey Bogomolov
05a25bb30b add docstrings 2023-05-17 11:46:06 +03:00
Alexey Bogomolov
8b6feb38ab Bring the PATH setting back 2023-05-17 10:55:41 +03:00
Alexey Bogomolov
c78a742487 add logs, remove adding PYTHONHOME to PATH 2023-05-17 10:02:59 +03:00
Alexey Bogomolov
4388da15df black formatting 2023-04-28 18:32:33 +03:00
Alexey Bogomolov
7cc08d026a upse pathlib instead of os.path, some cleanup 2023-04-28 17:57:29 +03:00
Jakub Jezek
27bf66a6b4
resolve: other platform compatibility 2022-10-17 20:59:17 +02:00
Jakub Jezek
09b9ba8b83
resolve: removing unused code 2022-10-14 15:10:32 +02:00
Jakub Jezek
db5311da87
resolve: transfering settings to prelaunch hook
no need to expose environment variables
2022-10-14 14:19:42 +02:00
Jakub Trllo
07d89fc23b fixed imports to use in-DCC imports from resolve.api 2022-08-11 19:01:24 +02:00
Roy Nieterau
107e2e637e Fix typos / cosmetics 2022-01-16 13:05:26 +01:00
Jakub Jezek
5d64ed22a2
remains of unrenamed pype. namespace 2021-04-08 11:01:54 +02:00
Milan Kolar
8432e94615 rename folder 2021-04-01 18:54:46 +02:00