mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
remove client and implement 'initialize_ayon_connection' to initialize ayon api
This commit is contained in:
parent
f69d77c54c
commit
06f124c7bf
10 changed files with 76 additions and 62 deletions
|
|
@ -11,6 +11,7 @@ import acre
|
|||
from ayon_core import AYON_CORE_ROOT
|
||||
from ayon_core.addon import AddonsManager
|
||||
from ayon_core.settings import get_general_environments
|
||||
from ayon_core.lib import initialize_ayon_connection
|
||||
|
||||
from .cli_commands import Commands
|
||||
|
||||
|
|
@ -243,6 +244,7 @@ def _set_addons_environments():
|
|||
|
||||
|
||||
def main(*args, **kwargs):
|
||||
initialize_ayon_connection()
|
||||
python_path = os.getenv("PYTHONPATH", "")
|
||||
split_paths = python_path.split(os.pathsep)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue