~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: me at id
  • Date: 2009-01-15 01:29:07 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1147
ivle.makeuser: Don't create a local.auth. It wasn't used anywhere, and seems
    to have only been there for historical reasons.
setup.configure: Remove svn_auth_local from the config.py boilerplate; it was
    used solely by ivle.makeuser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
# This is a command-line application, for use by the administrator.
24
24
# This program is a frontend for the modules in the setup packages that 
25
 
# build and install IVLE in separate steps.
 
25
# configure, build and install IVLE in three separate steps.
26
26
# It is called with at least one argument, which specifies which operation to
27
27
# take.
28
28
 
29
29
import sys
 
30
import setup.configure
30
31
import setup.build
31
32
import setup.install
32
33
 
 
34
 
33
35
def main(argv=None):
34
36
    if argv is None:
35
37
        argv = sys.argv
61
63
        print """Usage: python setup.py operation [options]
62
64
Operation can be:
63
65
    help [operation]
 
66
    config
64
67
    build
65
68
    install
66
69
 
75
78
    try:
76
79
        oper_func = {
77
80
            'help' : help,
 
81
            'config' : setup.configure.configure,
78
82
            'build' : setup.build.build,
79
83
            'install' : setup.install.install,
 
84
            #'updatejails' : None,
80
85
        }[operation]
81
86
    except KeyError:
82
87
        print >>sys.stderr, (