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

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: wagrant
  • Date: 2008-09-18 09:23:56 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1050
setup: Don't give possible options in the top-level usage string.
setup.build: Bail out if there is no jail and we've not been told to
             build one.
setup.setuputil: Don't import pysvn except where it is needed, so we
                 can at least display the usage without extra deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
def help(args):
63
63
    if len(args)!=1:
64
64
        print """Usage: python setup.py operation [options]
65
 
Operation (and options) can be:
 
65
Operation can be:
66
66
    help [operation]
67
67
    listmake (developer use only)
68
 
    config [args]
 
68
    config
69
69
    build
70
 
    install [--nojail] [--nosubjects] [-n|--dry]
 
70
    install
71
71
 
72
 
    For help on a specific operation use 'help [operation]'."""
 
72
    For help and options for a specific operation use 'help [operation]'."""
73
73
    else:
74
74
        operator = args[0]
75
75
        oper_func = call_operator(operator)