Rfc for blenderbim chocolatey install / uninstall scripts.
-
install
It checks for runningblender.exe
and aborts if found, for safe install.
Specified blenderbim build is pulled (here:blenderbim-220719-py310-win.zip
) and sha256sum checked after download.
The zip file is then unpacked into"%APPDATA%\Blender Foundation\Blender\{latest_blender_version}\scripts\addons"
. Afterwards the addon is enabled by a short call to headless blender.blenderbim
is registered as installed by chocolatey. -
uninstall
It checks for runningblender.exe
and aborts if found, for safe uninstall. Addon is disabled by a short call to headless blender."%APPDATA%\Blender Foundation\Blender\{latest_blender_version}\scripts\addons"
is removed.blenderbim
is registered as uninstalled.
Being able to install BlenderBIM with chocolatey helps to easily deploy the latest version of BlenderBIM.
With a single simple choco upgrade all
all chocolatey installed packages can be kept up to date
When writing Blender addons depending on BlenderBIM these chocolatey install / uninstall scripts can
ease the deployment of those as well.
This repo could be integrated into ifcopenshell blenderbim build process and dynamically push to
chocolatey community repo. (cycle?: every nightly? just weekly? only specific releases?)
That way from a user and deployment perspective it would be trivial to keep up with its rapid development cycle.
This rfc currently only focuses on
- installing / updating / uninstalling the latest build
- on win10 64bit
- with chocolatey preinstalled
- assumes blender settings in
"%APPDATA%\Blender Foundation\Blender\{latest_blender_version}\scripts\addons"
- blender python version of latest blender chocolatey version
- blender chocolatey package is used as dependency
- general
- comments
- review
- fill info in nuspec
- owners
- icons
- mailing list?
- release notes?
As this is currently not pushed to chocolatey.org, one can only try this repo locally via:
- install
from this repo/blenderbim directory:
choco pack
to create the nupkg package
choco install blenderbim -dv -s . --force
- uninstall
choco uninstall blenderbim