Files
sqlalchemy/doc/build/runhtml.py
T
Mike Bayer 0fb425ac1f added txt2myt.py to the genhtml/runhtml scripts, added exception if required modules arent found.
edited tutorial.txt, added particles, etc.
added clue that firebird might be supported to dbengine.myt
2006-03-16 19:08:35 +00:00

30 lines
704 B
Python
Executable File

#!/usr/bin/env python
import sys,re,os
print "Running txt2myt.py..."
execfile("txt2myt.py")
component_root = [
{'components': './components'},
{'content' : './content'}
]
doccomp = ['document_base.myt']
output = os.path.dirname(os.getcwd())
sys.path = ['../../lib', './lib/'] + sys.path
import myghty.http.HTTPServerHandler as HTTPServerHandler
httpd = HTTPServerHandler.HTTPServer(
port = 8080,
handlers = [
{'.*(?:\.myt|/$)' : HTTPServerHandler.HSHandler(path_translate=[(r'^/$', r'/index.myt')], data_dir = './cache', component_root = component_root)},
],
docroot = [{'.*' : '../'}],
)
httpd.serve_forever()