srcanamdw/codescanner/pyinstaller/optik/__init__.py
author noe\swadi
Thu, 18 Feb 2010 12:29:02 +0530
changeset 1 22878952f6e2
permissions -rw-r--r--
Committing the CodeScanner Core tool This component has been moved from the StaticAnaApps package. BUG : 5889 (http://developer.symbian.org/webbugs/show_bug.cgi?id=5889).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     1
"""optik
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     2
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     3
A powerful, extensible, and easy-to-use command-line parser for Python.
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     4
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     5
By Greg Ward <gward@python.net>
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     6
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     7
See http://optik.sourceforge.net/
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     8
"""
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
     9
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    10
# Copyright (c) 2001-2004 Gregory P. Ward.  All rights reserved.
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    11
# See the README.txt distributed with Optik for licensing terms.
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    12
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    13
__revision__ = "$Id: __init__.py,v 1.1 2009/02/05 23:03:30 stechong Exp $"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    14
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    15
__version__ = "1.5"
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    16
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    17
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    18
# Re-import these for convenience
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    19
from optik.option import Option
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    20
from optik.option_parser import *
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    21
from optik.help import *
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    22
from optik.errors import *
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    23
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    24
from optik import option, option_parser, help, errors
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    25
__all__ = (option.__all__ +
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    26
           option_parser.__all__ +
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    27
           help.__all__ +
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    28
           errors.__all__)
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    29
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    30
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    31
# Some day, there might be many Option classes.  As of Optik 1.3, the
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    32
# preferred way to instantiate Options is indirectly, via make_option(),
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    33
# which will become a factory function when there are many Option
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    34
# classes.
22878952f6e2 Committing the CodeScanner Core tool
noe\swadi
parents:
diff changeset
    35
make_option = Option