mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added TODO comments to tools and common vendor sys paths
This commit is contained in:
parent
6480674345
commit
5666f90879
1 changed files with 4 additions and 0 deletions
4
start.py
4
start.py
|
|
@ -283,6 +283,8 @@ def _initialize_environment(pype_version: PypeVersion) -> None:
|
|||
bootstrap.add_paths_from_directory(version_path)
|
||||
|
||||
# Additional sys paths related to PYPE_ROOT directory
|
||||
# TODO move additional paths to `boot` part when PYPE_ROOT will point
|
||||
# to same hierarchy from code and from frozen pype
|
||||
additional_paths = [
|
||||
# add pype tools
|
||||
os.path.join(os.environ["PYPE_ROOT"], "pype", "pype", "tools"),
|
||||
|
|
@ -438,6 +440,8 @@ def _bootstrap_from_code(use_version):
|
|||
# in case when we are running without any version installed.
|
||||
if not getattr(sys, 'frozen', False):
|
||||
split_paths.append(site.getsitepackages()[-1])
|
||||
# TODO move additional paths to `boot` part when PYPE_ROOT will point
|
||||
# to same hierarchy from code and from frozen pype
|
||||
additional_paths = [
|
||||
# add pype tools
|
||||
os.path.join(os.environ["PYPE_ROOT"], "pype", "tools"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue