mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed get_pyside2_location as is not needed inside openpype
This commit is contained in:
parent
64a1839c9d
commit
39bf35429b
1 changed files with 0 additions and 15 deletions
|
|
@ -2,7 +2,6 @@ import os
|
|||
import sys
|
||||
import importlib
|
||||
from .log import PypeLogger as Logger
|
||||
from pathlib import Path
|
||||
|
||||
log = Logger().get_logger(__name__)
|
||||
|
||||
|
|
@ -24,17 +23,3 @@ def discover_host_vendor_module(module_name):
|
|||
|
||||
sys.path.insert(1, module_path)
|
||||
return importlib.import_module(module_name)
|
||||
|
||||
|
||||
def get_pyside2_location():
|
||||
"""Get location of PySide2 and its dependencies.
|
||||
|
||||
Returned path can be used with `site.addsitedir()`
|
||||
|
||||
Returns:
|
||||
str: path to PySide2
|
||||
|
||||
"""
|
||||
path = Path(os.getenv("OPENPYPE_ROOT"))
|
||||
path = path / "vendor/python/PySide2"
|
||||
return str(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue