changeset 4282:310ab489e119

Remove duplicate wikiserver.py
author Florian Krupicka <florian.krupicka@googlemail.com>
date Fri, 08 Aug 2008 18:15:14 +0200
parents 27ea0a15a347
children 97d307e1c525
files wiki/server/wikiserver.py
diffstat 1 files changed, 0 insertions(+), 39 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/server/wikiserver.py	Thu Aug 07 23:12:22 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-#!/usr/bin/env python
-"""
-    Start script for the standalone Wiki server.
-
-    @copyright: 2007 MoinMoin:ForrestVoight
-    @license: GNU GPL, see COPYING for details.
-"""
-
-import sys, os
-
-# a) Configuration of Python's code search path
-#    If you already have set up the PYTHONPATH environment variable for the
-#    stuff you see below, you don't need to do a1) and a2).
-
-# a1) Path of the directory where the MoinMoin code package is located.
-#     Needed if you installed with --prefix=PREFIX or you didn't use setup.py.
-#sys.path.insert(0, 'PREFIX/lib/python2.3/site-packages')
-
-# a2) Path of the directory where wikiconfig.py / farmconfig.py is located.
-moinpath = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
-sys.path.insert(0, moinpath)
-os.chdir(moinpath)
-
-# b) Configuration of moin's logging
-#    If you have set up MOINLOGGINGCONF environment variable, you don't need this!
-#    You also don't need this if you are happy with the builtin defaults.
-#    See wiki/config/logging/... for some sample config files.
-from MoinMoin import log
-log.load_config('wikiserverlogging.conf')
-
-# Debug mode - show detailed error reports
-#os.environ['MOIN_DEBUG'] = '1'
-
-from MoinMoin.script import MoinScript
-
-if __name__ == '__main__':
-    sys.argv = ["moin.py", "server", "standalone"]
-    MoinScript().run()
-