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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: matt.giuca
  • Date: 2009-01-14 06:28:03 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:1126
Created a branch 'storm', for replacing the Database layer with the Storm ORM.
(Experimental)

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