Changeset 5503 for main/waeup.sirp/trunk


Ignore:
Timestamp:
26 Aug 2010, 17:00:32 (14 years ago)
Author:
uli
Message:

Add section to create sirpctl properly, with a fixed path to
zdaemon.conf. The new section creates only sirpctl (not all scripts
defined in any egg, as the [app] section does).

To make this work, in [buildout] parts the [sirpctl] section has to be
processed after the [app] section.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/buildout.cfg

    r5495 r5503  
    1616    coverage-detect
    1717    coverage-report
     18# sirpctl creation must be _after_ app!
     19    sirpctl
    1820# For backward compatibility, telling buildout not to throw away
    1921# the data and log subdirectories from the parts directory.
     
    4244lovely.recipe = 1.0.0    # Pinned to prevent buildout svn-error.
    4345
    44 
    4546[app]
     47# This creates all scripts in bin/. The sirpctl created here is 'faulty'.
    4648recipe = zc.recipe.egg
    4749eggs = waeup.sirp
     
    5153       PasteDeploy
    5254interpreter = python-console
     55
     56[sirpctl]
     57# See http://pypi.python.org/pypi/zc.recipe.egg for details...
     58# Here we create the sirpctl script again, this time with a
     59# fixed path to zdaemon.conf as argument.
     60recipe = zc.recipe.egg
     61eggs = waeup.sirp
     62arguments = "${buildout:parts-directory}/etc/zdaemon.conf"
     63scripts = sirpctl=sirpctl
    5364
    5465[mkdirs]
Note: See TracChangeset for help on using the changeset viewer.