##// END OF EJS Templates
packaging: only wrap external dependency scripts....
marcink -
r3122:6e8dcf31 default
parent child Browse files
Show More
@@ -205,16 +205,28 b' let'
205 mkdir -p $out/bin
205 mkdir -p $out/bin
206
206
207 # required binaries from dependencies
207 # required binaries from dependencies
208 #ln -s ${self.python}/bin/python $out/bin
208 ln -s ${self.supervisor}/bin/supervisorctl $out/bin/
209 ln -s ${self.pyramid}/bin/* $out/bin/
209 ln -s ${self.supervisor}/bin/supervisord $out/bin/
210 ln -s ${self.gunicorn}/bin/gunicorn $out/bin/
211 ln -s ${self.supervisor}/bin/supervisor* $out/bin/
212 ln -s ${self.pastescript}/bin/paster $out/bin/
210 ln -s ${self.pastescript}/bin/paster $out/bin/
213 ln -s ${self.channelstream}/bin/channelstream $out/bin/
211 ln -s ${self.channelstream}/bin/channelstream $out/bin/
214 ln -s ${self.celery}/bin/celery $out/bin/
212 ln -s ${self.celery}/bin/celery $out/bin/
215 echo "[DONE]: created symlinks into $out/bin"
213 ln -s ${self.gunicorn}/bin/gunicorn $out/bin/
214 ln -s ${self.pyramid}/bin/prequest $out/bin/
215 ln -s ${self.pyramid}/bin/pserve $out/bin/
216
216
217 for file in $out/bin/*;
217 echo "[DONE]: created symlinks into $out/bin"
218 DEPS="$out/bin/supervisorctl \
219 $out/bin/supervisord \
220 $out/bin/paster \
221 $out/bin/channelstream \
222 $out/bin/celery \
223 $out/bin/gunicorn \
224 $out/bin/prequest \
225 $out/bin/pserve"
226
227 # wrap only dependency scripts, they require to have full PYTHONPATH set
228 # to be able to import all packages
229 for file in $DEPS;
218 do
230 do
219 wrapProgram $file \
231 wrapProgram $file \
220 --prefix PATH : $PATH \
232 --prefix PATH : $PATH \
General Comments 0
You need to be logged in to leave comments. Login now