Vagrantfile to build Blender as a Python module.
Vagrant is a tool to create and configure reproducible and portable development
environments using virtual machines. These are specified through Vagrantfiles,
in a similar manner as make
uses Makefiles.
Mainly, you need Vagrant and some additional plugins:
- Virtualbox (our Vagrantfile has only been tested with this VM provider)
- Vagrant >= 1.8.2
To create the Vagrant virtual machine, just run:
$ vagrant up
from the directory of this repository, where is the Vagrantfile.
If the previous command is successful, remember you can manage the new virtual machine using the following Vagrant commands:
vagrant halt
, to stop the virtual machine.vagrant destroy
, to remove the virtual machine.vagrant ssh
, to enter the virtual machine.
The created virtual machines must be provisioned with all the software that we need. For that we use build-blenderpy.sh Bash script. It will install all dependencies and starts the build process as described by BlenderAsPyModule documentation.
Copyright (c) 2018, Jesús Torres <jmtorres@ull.es>. This work is licensed under a Creative Commons Public Domain Dedication 1.0 License.