Hey! is there any steps/documentation available to build launcher with docker for linux?
We currently have this
and this
>>> Using python [ 3.9 ]
>>> Reading Poetry ... OK
>>> Installing runtime dependencies ...
>>> Removing existing vendor directory
>>> Handling Qt binding framework ...
>>> We'll install PySide6==6.7.1
>>> Downloading and extracting took 8.530366108 secs.
[avril5955@avril5955 ayon-launcher-1.3.1]$
[avril5955@avril5955 ayon-launcher-1.3.1]$
[avril5955@avril5955 ayon-launcher-1.3.1]$ ./tools/make.sh build
>>> Using python [ 3.9 ]
--- Cleaning build directory ...
>>> Building AYON [ 1.3.1 ]
>>> Cleaning cache files ...
>>> Cleaning pyc at [ /jobs/ayon-launcher-1.3.1 ] ... DONE
>>> Reading Poetry ... OK
>>> Making sure submodules are up-to-date ...
>>> Building ...
/jobs/ayon-launcher-1.3.1/shim /jobs/ayon-launcher-1.3.1 /jobs/ayon-launcher-1.3.1
/jobs/ayon-launcher-1.3.1 /jobs/ayon-launcher-1.3.1
... Using build at /jobs/ayon-launcher-1.3.1/build/output
>>> Starting dependency cleanup ...
>>> Getting venv site-packages ...
... Working with: /jobs/ayon-launcher-1.3.1/.venv/lib64/python3.9/site-packages
>>> Copying vendor files ...
Copying vendor files ... 256 [00:00, 513.07/s] >>> Copying dependencies ...
Deleting duplicates 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 8/8 [00:00<00:00, 1427.06/s]>>> Dependency cleanup done in 0.660672548 secs.
blessed/terminal.py:183: UserWarning: Failed to setupterm(kind='xterm-256color'): setupterm: could not find terminal
Traceback (most recent call last):
File "__startup__.py", line 120, in run
File "console.py", line 16, in run
File "start.py", line 327, in <module>
from ayon_common import is_staging_enabled, is_dev_mode_enabled # noqa E402
File "/jobs/ayon-launcher-1.3.1/build/output/common/ayon_common/__init__.py", line 1, in <module>
from .utils import (
File "/jobs/ayon-launcher-1.3.1/build/output/common/ayon_common/utils.py", line 15, in <module>
import semver
ModuleNotFoundError: No module named 'semver'
Traceback (most recent call last):
File "/jobs/ayon-launcher-1.3.1/tools/build_post_process.py", line 855, in <module>
main()
File "/jobs/ayon-launcher-1.3.1/tools/build_post_process.py", line 848, in main
post_build_process(ayon_root, build_root)
File "/jobs/ayon-launcher-1.3.1/tools/build_post_process.py", line 616, in post_build_process
store_base_metadata(build_root, build_content_root, ayon_version)
File "/jobs/ayon-launcher-1.3.1/tools/build_post_process.py", line 600, in store_base_metadata
"runtime_python_modules": get_runtime_modules(build_content_root),
File "/jobs/ayon-launcher-1.3.1/tools/build_post_process.py", line 501, in get_runtime_modules
raise ValueError("Wasn't able to get runtime modules.")
ValueError: Wasn't able to get runtime modules.
!!!> Failed to process dependencies
Getting some error using that process in “semver” module
Have you set up the dev environment of the launcher before building the executable?
cd {where you have ayon-launcher}
./tools/make.sh create-env
./tools/make.sh install-runtime-dependencies