Commit cfee88f9 authored by Łukasz Nowak's avatar Łukasz Nowak

Setup PATH on all tools.

parent fc5c539b
...@@ -24,7 +24,6 @@ parts = ...@@ -24,7 +24,6 @@ parts =
slapos slapos
cfg-environment cfg-environment
sh-environment sh-environment
slapos-slapgrid-sr
find-links = find-links =
http://www.nexedi.org/static/packages/source/slapos.buildout/ http://www.nexedi.org/static/packages/source/slapos.buildout/
...@@ -93,6 +92,10 @@ eggs = ...@@ -93,6 +92,10 @@ eggs =
${lxml-python:egg} ${lxml-python:egg}
slapos.core slapos.core
initialization =
import os
os.environ['PATH'] = os.path.expandvars('${environment:PATH}')
# control scripts generation in order to avoid reinstalling bin/buildout # control scripts generation in order to avoid reinstalling bin/buildout
scripts = scripts =
generate-signature-key = slapos.signature:run generate-signature-key = slapos.signature:run
...@@ -101,21 +104,11 @@ scripts = ...@@ -101,21 +104,11 @@ scripts =
slapformat = slapos.format:main slapformat = slapos.format:main
slapgrid = slapos.grid.slapgrid:run slapgrid = slapos.grid.slapgrid:run
slapgrid-cp = slapos.grid.slapgrid:runComputerPartition slapgrid-cp = slapos.grid.slapgrid:runComputerPartition
slapgrid-sr = slapos.grid.slapgrid:runSoftwareRelease
slapgrid-ur = slapos.grid.slapgrid:runUsageReport slapgrid-ur = slapos.grid.slapgrid:runUsageReport
slapgrid-supervisorctl = slapos.grid.svcbackend:supervisorctl slapgrid-supervisorctl = slapos.grid.svcbackend:supervisorctl
slapgrid-supervisord = slapos.grid.svcbackend:supervisord slapgrid-supervisord = slapos.grid.svcbackend:supervisord
slapproxy = slapos.proxy:main slapproxy = slapos.proxy:main
[slapos-slapgrid-sr]
# install slapgrid-sr script with PATH generated by SlapOS
recipe = ${slapos:recipe}
python = ${slapos:python}
eggs = ${slapos:eggs}
initialization =
import os
os.environ['PATH'] = os.path.expandvars('${environment:PATH}')
scripts =
slapgrid-sr = slapos.grid.slapgrid:runSoftwareRelease
[versions] [versions]
zc.buildout = 1.5.3-dev-SlapOS-009 zc.buildout = 1.5.3-dev-SlapOS-009
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment