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