tornavis/tests/blender_as_python_module/import_bpy.py

11 lines
258 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