~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to doc/buildout.txt

  • Committer: Curtis Hovey
  • Date: 2011-12-21 18:58:03 UTC
  • mto: This revision was merged to the branch mainline in revision 14576.
  • Revision ID: curtis.hovey@canonical.com-20111221185803-5shvb9firubrwsrj
Moved runlaunchpad to lp.scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
500
500
For the common case, in ``setup.py``, add a string in the ``console_scripts``
501
501
list of the ``entry_points`` argument. Here's an example string::
502
502
 
503
 
    'run = canonical.launchpad.scripts.runlaunchpad:start_launchpad'
 
503
    'run = lp.scripts.runlaunchpad:start_launchpad'
504
504
 
505
505
This will create a script named ``run`` in the ``bin`` directory that calls the
506
506
``start_launchpad`` function in the
507
 
``canonical.launchpad.scripts.runlaunchpad`` module.
 
507
``lp.scripts.runlaunchpad`` module.
508
508
 
509
509
See the `zc.recipe.egg documentation`_ for more information on how to add
510
510
scripts using this method.