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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: matt.giuca
  • Date: 2009-01-12 00:36:24 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1074
Removed "prototypes" directory (very old and clearly no longer used).

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
 
33
import setup.listmake
 
34
 
32
35
 
33
36
def main(argv=None):
34
37
    if argv is None:
61
64
        print """Usage: python setup.py operation [options]
62
65
Operation can be:
63
66
    help [operation]
 
67
    listmake (developer use only)
 
68
    config
64
69
    build
65
70
    install
66
71
 
75
80
    try:
76
81
        oper_func = {
77
82
            'help' : help,
 
83
            'config' : setup.configure.configure,
78
84
            'build' : setup.build.build,
 
85
            'listmake' : setup.listmake.listmake,
79
86
            'install' : setup.install.install,
 
87
            #'updatejails' : None,
80
88
        }[operation]
81
89
    except KeyError:
82
90
        print >>sys.stderr, (