OpenPype
OpenPype copied to clipboard
Chore: Runtime dependencies
Changelog Description
This PR moves some python modules to runtime dependencies to not add them to PYTHONPATH for DCC subprocesses.
Additional info
All of the moved dependencies have binary dependency and can be used only with Python where were installed so it does not make sense to have them in PYTHONPATH. Also having them in PYTHONPATH can cause that they break python dependencies insude DCC (like here https://github.com/ynput/OpenPype/issues/5921). And removed unused python module Qt.py
.
Sync server providers imports are not raising errors. There should be some better logic to import them @kalisp .
Testing notes:
This PR may have pre-requirement this PR https://github.com/ynput/OpenPype/pull/5928 .
- Remove
./.venv/
and./vendor/python/
to remove already existing dependencies. - Run
create_env.ps1/.sh
andfetch_thirdparty_libs.ps1/.sh
scripts. - Run tray.
- Everything should work as expected (sync server).