# if it's not on the command line, then
# look for setup.py in this directory. If it's not there, this script is
# probably installed
+cherrypy.config.update(file="common.cfg")
if len(sys.argv) > 1:
cherrypy.config.update(file=sys.argv[1])
elif exists(join(dirname(__file__), "setup.py")):
--- /dev/null
+# This is where all of your settings go for your development environment
+[/static]
+staticFilter.on = True
+staticFilter.dir = "static"
+[/favicon.ico]
+staticFilter.on = True
+staticFilter.file = "static/images/favicon.ico"
server.environment="development"
autoreload.package="beweb"
-
-[/static]
-staticFilter.on = True
-staticFilter.dir = "static"
-[/favicon.ico]
-staticFilter.on = True
-staticFilter.file = "static/images/favicon.ico"
# to the TurboGears instance here
# server.webpath=""
-[/static]
-staticFilter.on = True
-staticFilter.dir = "static"