Initial Flamenco support.

Lots to do:

- Doesn't call BAM yet to copy files onto the job storage folder (even
  though you can configure that folder).
- Uses the same project as Attract, so you have to select it in an
  unintuitive location. Also, you can only start Flamenco jobs on a project
  that is Attract-enabled (and not necessarily Flamenco-enabled).
This commit is contained in:
2017-01-13 17:24:37 +01:00
parent 68b046c714
commit 570b1d4bfe
6 changed files with 378 additions and 51 deletions

View File

@@ -79,13 +79,15 @@ def register():
settings_sync = reload_mod('settings_sync')
image_sharing = reload_mod('image_sharing')
attract = reload_mod('attract')
flamenco = reload_mod('flamenco')
else:
from . import (blender, texture_browser, async_loop, settings_sync, blendfile, home_project,
image_sharing, attract)
image_sharing, attract, flamenco)
async_loop.setup_asyncio_executor()
async_loop.register()
flamenco.register()
texture_browser.register()
blender.register()
settings_sync.register()
@@ -111,7 +113,8 @@ def _monkey_patch_requests():
def unregister():
from . import blender, texture_browser, async_loop, settings_sync, image_sharing, attract
from . import (blender, texture_browser, async_loop, settings_sync, image_sharing, attract,
flamenco)
image_sharing.unregister()
attract.unregister()
@@ -119,3 +122,4 @@ def unregister():
blender.unregister()
texture_browser.unregister()
async_loop.unregister()
flamenco.unregister()