Base code for scripting blender from Clojure, specifically for bootstrapping clojure from the python interpreter, and setting up bpy.context correctly for some basic ops.
clj -m clj-python-trampoline.resources --requirements > requirements.txt
pip3 install -r requirements.txt
clj -m clj-python-trampoline.resources --clj > clj.py
export CLASSPATH="$(clj -Sdeps '{:deps {nrepl {:mvn/version "0.7.0"} refactor-nrepl {:mvn/version "RELEASE"} cider/cider-nrepl {:mvn/version "RELEASE"}}}' -Spath)"
blender -P clj.py -- -e "(require 'nrepl.cmdline) (future (nrepl.cmdline/-main \"--middleware\" \"[\\\"refactor-nrepl.middleware/wrap-refactor\\\",\\\"cider.nrepl/cider-middleware\\\"]\"))"