Merge pull request #10563 from sivel/fix-gen-egg-info

egg_info is now written directly to lib
This commit is contained in:
Brian Coca 2015-03-27 13:37:01 -04:00
commit d628f3f591

View file

@ -42,11 +42,10 @@ expr "$MANPATH" : "${PREFIX_MANPATH}.*" > /dev/null || export MANPATH="$PREFIX_M
# Do the work in a function so we don't repeat ourselves later
gen_egg_info()
{
python setup.py egg_info
if [ -e "$PREFIX_PYTHONPATH/ansible.egg-info" ] ; then
rm -r "$PREFIX_PYTHONPATH/ansible.egg-info"
fi
mv "ansible.egg-info" "$PREFIX_PYTHONPATH"
python setup.py egg_info
}
if [ "$ANSIBLE_HOME" != "$PWD" ] ; then