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