Cleaned up runserver.wsgi to not depend on flup
It's not necessary; we already don't install it any more either.
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
from os.path import abspath, dirname
|
||||
import sys
|
||||
|
||||
activate_this = '/data/venv/bin/activate_this.py'
|
||||
execfile(activate_this, dict(__file__=activate_this))
|
||||
from flup.server.fcgi import WSGIServer
|
||||
from pillar import PillarServer
|
||||
from attract import AttractExtension
|
||||
from flamenco import FlamencoExtension
|
||||
|
||||
sys.path.append('/data/git/blender-cloud/')
|
||||
sys.path.append('/data/git/blender-cloud')
|
||||
|
||||
attract = AttractExtension()
|
||||
flamenco = FlamencoExtension()
|
||||
@@ -17,6 +14,3 @@ application = PillarServer(dirname(abspath(__file__)))
|
||||
application.load_extension(attract, '/attract')
|
||||
application.load_extension(flamenco, '/flamenco')
|
||||
application.process_extensions()
|
||||
|
||||
if __name__ == '__main__':
|
||||
WSGIServer(application).run()
|
||||
|
Reference in New Issue
Block a user