3 # Generates Python eggs for 2.4, 2.5 and 2.6
4 # -d can be passed for 'nighly builds', so that the current date is appended
8 while getopts "d" Option
16 mkdir
/tmp
/indico-build
17 pushd /tmp
/indico-build
21 for EXECUTABLE
in python2.7 python2.6 python2.5
; do
22 EGG_NAME
=dist
/`$EXECUTABLE setup.py egg_filename | tail -n 1`.egg
23 $EXECUTABLE setup.py egg_info
$DATEOPT bdist_egg
24 md5sum $EGG_NAME | sh
-c 'read a; echo ${a%% *}' > $EGG_NAME.md5