mirror of
https://github.com/blender/blender.git
synced 2025-07-24 09:57:48 +00:00

Boost (removed!) Cython 3.0.11 Expat 2.6.4 GMP 6.3.0 MaterialX 1.39.2 Nanobind 2.1.0 (new, for OpenVDB) NumPy 1.26.4 OpenColorIO 2.4.1 OpenEXR 3.3.2 OpenImageIO 3.0.3.1 OpenVDB 12.0.0 OSL 1.14.3-beta Python 3.11.11 Robinmap 1.3.0 TBB 2021.13.0 TIFF 4.7.0 USD 25.02 libxml2 2.13.5 zlib 1.3.1 Co-authored-by: Brecht Van Lommel <brecht@blender.org> Co-authored-by: Jonas Holzman <jonas@holzman.fr> Co-authored-by: Sebastian Parborg <sebastian@blender.org> Ref #128577 Pull Request: https://projects.blender.org/blender/blender/pulls/134178
26 lines
562 B
Python
26 lines
562 B
Python
# SPDX-FileCopyrightText: 2002-2022 Blender Authors
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Add directory with module to the path.
|
|
import sys
|
|
sys.path.append(sys.argv[1])
|
|
|
|
# Just import `bpy` and see if there are any dynamic loader errors.
|
|
import bpy
|
|
|
|
# Try bundled libraries.
|
|
bpy.utils.expose_bundled_modules()
|
|
|
|
from pxr import Usd
|
|
import MaterialX
|
|
import OpenImageIO
|
|
import PyOpenColorIO
|
|
|
|
# Test both old and new names, remove when all 4.4 libs have landed.
|
|
try:
|
|
import pyopenvdb
|
|
except ModuleNotFoundError:
|
|
import openvdb
|
|
import oslquery
|