Enable loading of Attract.
This commit is contained in:
4
cloud.py
4
cloud.py
@@ -1,8 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from pillar import PillarServer
|
||||
from attract_server import AttractExtension
|
||||
|
||||
attract = AttractExtension()
|
||||
|
||||
app = PillarServer('.')
|
||||
app.load_extension(attract, '/attract')
|
||||
app.process_extensions()
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@@ -1,5 +1,6 @@
|
||||
# Primary requirements
|
||||
pillar
|
||||
attract_server
|
||||
pillarsdk
|
||||
|
||||
# Secondary requirements (i.e. pulled in from primary requirements)
|
||||
|
Reference in New Issue
Block a user