3
by Amit Mendapara
* Merging local source on tinyerp svn server. |
1 |
#!/usr/bin/python
|
1261
by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3). |
2 |
# -*- coding: UTF-8 -*-
|
3 |
"""Start script for the eTiny TurboGears project.
|
|
4 |
||
5 |
This script is only needed during development for running from the project
|
|
6 |
directory. When the project is installed, easy_install will create a
|
|
7 |
proper start script.
|
|
8 |
"""
|
|
9 |
||
3
by Amit Mendapara
* Merging local source on tinyerp svn server. |
10 |
import sys |
1261
by Amit Mendapara
* Using an entry point scripts for project start scripts (see TG-1.0.4b3). |
11 |
from tinyerp.commands import start, ConfigurationError |
12 |
||
13 |
if __name__ == "__main__": |
|
14 |
try: |
|
15 |
start() |
|
16 |
except ConfigurationError, exc: |
|
17 |
sys.stderr.write(str(exc)) |
|
18 |
sys.exit(1) |