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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: William Grant
  • Date: 2009-02-23 13:56:44 UTC
  • mto: (1100.1.8 new-ui)
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: grantw@unimelb.edu.au-20090223135644-vkliv8qg72m4cjsm
Shrink, monospace and nativify (does that even make sense?) bits of the console

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
32
 
62
61
        print """Usage: python setup.py operation [options]
63
62
Operation can be:
64
63
    help [operation]
65
 
    config
66
64
    build
67
65
    install
68
66
 
77
75
    try:
78
76
        oper_func = {
79
77
            'help' : help,
80
 
            'config' : setup.configure.configure,
81
78
            'build' : setup.build.build,
82
79
            'install' : setup.install.install,
83
80
        }[operation]