2009-07-03 15:15:23 +02:00
|
|
|
#!/usr/bin/env python
|
2008-06-09 00:58:23 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
2008-08-23 15:11:19 +02:00
|
|
|
"""Start script for the fotokiosk TurboGears project.
|
2008-06-09 00:58:23 +02:00
|
|
|
|
|
|
|
This script is only needed during development for running from the project
|
|
|
|
directory. When the project is installed, easy_install will create a
|
|
|
|
proper start script.
|
|
|
|
"""
|
|
|
|
|
|
|
|
import sys
|
2008-08-23 15:11:19 +02:00
|
|
|
from fotokiosk.commands import start, ConfigurationError
|
2008-06-09 00:58:23 +02:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
try:
|
|
|
|
start()
|
|
|
|
except ConfigurationError, exc:
|
|
|
|
sys.stderr.write(str(exc))
|
|
|
|
sys.exit(1)
|