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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: wagrant
  • Date: 2008-07-16 00:24:07 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:879
diffservice, fileservice_lib: Factor out conversion of strings to
      revision specifications, to common.svn.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
import setup.configure
31
31
import setup.build
32
32
import setup.install
 
33
import setup.listmake
 
34
 
33
35
 
34
36
def main(argv=None):
35
37
    if argv is None:
38
40
    # Print the opening spiel including the GPL notice
39
41
 
40
42
    print """IVLE - Informatics Virtual Learning Environment Setup
41
 
Copyright (C) 2007-2009 The University of Melbourne
 
43
Copyright (C) 2007-2008 The University of Melbourne
42
44
IVLE comes with ABSOLUTELY NO WARRANTY.
43
45
This is free software, and you are welcome to redistribute it
44
46
under certain conditions. See LICENSE.txt for details.
60
62
def help(args):
61
63
    if len(args)!=1:
62
64
        print """Usage: python setup.py operation [options]
63
 
Operation can be:
 
65
Operation (and options) can be:
64
66
    help [operation]
65
 
    config
 
67
    listmake (developer use only)
 
68
    config [args]
66
69
    build
67
 
    install
 
70
    install [--nojail] [--nosubjects] [-n|--dry]
68
71
 
69
 
    For help and options for a specific operation use 'help [operation]'."""
 
72
    For help on a specific operation use 'help [operation]'."""
70
73
    else:
71
74
        operator = args[0]
72
75
        oper_func = call_operator(operator)
79
82
            'help' : help,
80
83
            'config' : setup.configure.configure,
81
84
            'build' : setup.build.build,
 
85
            'listmake' : setup.listmake.listmake,
82
86
            'install' : setup.install.install,
 
87
            #'updatejails' : None,
83
88
        }[operation]
84
89
    except KeyError:
85
90
        print >>sys.stderr, (