mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
* Use Python executable from lib folder since it's not installed. * Make bpy module test work for portable install. * Disable gtests which don't work with different Python link flags and shared library locations. Ref D15957
8 lines
204 B
Python
8 lines
204 B
Python
# 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
|