mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #1271 from pypeclub/bugfix/missing_openpype_root_from_pythonpath
add openpype_root to pythonpath
This commit is contained in:
commit
a390a55428
2 changed files with 2 additions and 1 deletions
2
.github/workflows/test_build.yml
vendored
2
.github/workflows/test_build.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
branches: [develop]
|
||||
types: [review_requested, ready_for_review]
|
||||
paths-ignore:
|
||||
- 'docs/**',
|
||||
- 'docs/**'
|
||||
- 'website/**'
|
||||
- 'vendor/**'
|
||||
|
||||
|
|
|
|||
1
start.py
1
start.py
|
|
@ -326,6 +326,7 @@ def _initialize_environment(openpype_version: OpenPypeVersion) -> None:
|
|||
# TODO move additional paths to `boot` part when OPENPYPE_ROOT will point
|
||||
# to same hierarchy from code and from frozen OpenPype
|
||||
additional_paths = [
|
||||
os.environ["OPENPYPE_ROOT"],
|
||||
# add OpenPype tools
|
||||
os.path.join(os.environ["OPENPYPE_ROOT"], "openpype", "tools"),
|
||||
# add common OpenPype vendor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue