summaryrefslogtreecommitdiff
path: root/start.sh
diff options
context:
space:
mode:
authorOwl <isaclien9752@gmail.com>2025-09-26 14:32:34 -0400
committerOwl <isaclien9752@gmail.com>2025-09-26 14:32:34 -0400
commit70e647076418d114111aa76b5d3639a5b4271e94 (patch)
tree2e67e3c523818c7628497ff2f6e9e5c9645814d2 /start.sh
parent45dc6171705fd074657b0ed5bde2502431b74c4b (diff)
downloadblenxy-70e647076418d114111aa76b5d3639a5b4271e94.tar.gz
blenxy-70e647076418d114111aa76b5d3639a5b4271e94.zip
bcsv and other stuff
Diffstat (limited to 'start.sh')
-rwxr-xr-xstart.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/start.sh b/start.sh
new file mode 100755
index 0000000..c8c83c5
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,10 @@
+# file to be put where the "blender" binary file is located
+# this file will basically call blender specifying the
+# external python install that is expected to be ran with
+# path must be the python's interpreter path
+
+PYTHON_INTERPRETER_PATH=/YOUR/ABSOLUTE/PYTHON/INTERPRETER/PATH
+echo $PYTHON_INTERPRETER_PATH
+BLENDER_SYSTEM_PYTHON=$($PYTHON_INTERPRETER_PATH -c 'import sys; print(sys.exec_prefix)')
+echo $BLENDER_SYSTEM_PYTHON
+BLENDER_SYSTEM_PYTHON=$BLENDER_SYSTEM_PYTHON ./blender -- "$PYTHON_INTERPRETER_PATH"