19 lines
479 B
Python
19 lines
479 B
Python
|
#!/usr/bin/python
|
||
|
# -*- coding: utf-8 -*-
|
||
|
"""Start script for the fotokiste TurboGears project.
|
||
|
|
||
|
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
|
||
|
from fotokiste.commands import start, ConfigurationError
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
try:
|
||
|
start()
|
||
|
except ConfigurationError, exc:
|
||
|
sys.stderr.write(str(exc))
|
||
|
sys.exit(1)
|