[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - options.py:1.1.2.1

Fred L. Drake, Jr. fred@zope.com
Fri, 14 Feb 2003 00:59:39 -0500


Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv13160

Added Files:
      Tag: new-install-branch
	options.py 
Log Message:
Very simple command line processing for bin/runzope.py.

=== Added File Zope/lib/python/Zope/Startup/options.py ===
##############################################################################
#
# Copyright (c) 2003 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################

"""Command-line processor for Zope."""

import os

import zdaemon.zdoptions


class ZopeOptions(zdaemon.zdoptions.ZDOptions):

    logsectionname = "eventlog"

    schemadir = os.path.dirname(os.path.abspath(__file__))
    schemafile = "zopeschema.xml"