Changeset 5491 for main


Ignore:
Timestamp:
24 Aug 2010, 16:42:51 (14 years ago)
Author:
uli
Message:
  • Depend also on grokcore.startup. This package contains the code to interact with the paster server.
  • Define needed entry-points to generate scripts based on grokcore.startup and paster. These scripts replace the former zopectl script.

As we can choose the names of the scripts ourselves, I've chosen
sirp-debug for the debugger script and sirpctl for the main
zopectl replacement. sirpctl sounds like zopectl but
also marks a difference by its name.

Instead of zopectl fg you now can start an instance by doing:

$ ./bin/sirpctl fg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-paster/setup.py

    r5328 r5491  
    77    'setuptools',
    88    'grok',
     9    'grokcore.startup',
    910    'grokui.admin',
    1011    'hurry.query',
     
    8182      entry_points="""
    8283      # Add entry points here
     84      [console_scripts]
     85      sirp-debug = grokcore.startup:interactive_debug_prompt
     86      sirpctl = grokcore.startup:zdaemon_controller
     87      [paste.app_factory]
     88      main = grokcore.startup:application_factory
     89      debug = grokcore.startup:debug_application_factory
     90
    8391      """,
    8492      )
Note: See TracChangeset for help on using the changeset viewer.