2016-07-29 16:29:51 +02:00
|
|
|
from os.path import abspath, dirname
|
|
|
|
import sys
|
|
|
|
|
2016-08-10 18:27:27 +02:00
|
|
|
from pillar import PillarServer
|
2016-09-29 17:59:01 +02:00
|
|
|
from attract import AttractExtension
|
2017-01-12 17:56:20 +01:00
|
|
|
from flamenco import FlamencoExtension
|
2016-07-29 16:29:51 +02:00
|
|
|
|
2017-03-08 12:37:26 +01:00
|
|
|
sys.path.append('/data/git/blender-cloud')
|
2016-07-29 16:29:51 +02:00
|
|
|
|
2016-09-29 17:59:01 +02:00
|
|
|
attract = AttractExtension()
|
2017-01-12 17:56:20 +01:00
|
|
|
flamenco = FlamencoExtension()
|
2016-09-29 17:59:01 +02:00
|
|
|
|
2016-07-29 16:29:51 +02:00
|
|
|
application = PillarServer(dirname(abspath(__file__)))
|
2016-09-29 17:59:01 +02:00
|
|
|
application.load_extension(attract, '/attract')
|
2017-01-12 17:56:20 +01:00
|
|
|
application.load_extension(flamenco, '/flamenco')
|
2016-07-29 16:29:51 +02:00
|
|
|
application.process_extensions()
|