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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Matt Giuca
  • Date: 2009-02-25 10:19:29 UTC
  • mfrom: (1100.1.35 new-ui)
  • Revision ID: matt.giuca@gmail.com-20090225101929-v2206kbf3lgkm1kz
*Spoiler warning: Plot or ending details follow*

Merged from new-ui branch.

IVLE top bar and top of filebrowser and console have all been made over. They
look very shiny and web 2.0!

Added image-source top-level directory with SVG source images.

Added new chrome images to ivle/webapp/coremedia/images.

Redid a lot CSS and HTML.
Every page now has an H1 at the top (common UI). Moved existing H1s to the top
of the page. Other H1s have been cleaned up (moved to H2s or restyled).
IVLE top bar has been majorly cleaned up (previously had many layered divs);
now more accessible.

Subject icon replaced with tutorial one.

The funeral for the tacky yellow and blue stylesheet will be held this Friday.

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