1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

egg_info is now written directly to lib

This commit is contained in:
Matt Martz 2015-03-27 12:03:20 -05:00
parent 75f933cf64
commit 104b2036f7

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 # Do the work in a function so we don't repeat ourselves later
gen_egg_info() gen_egg_info()
{ {
python setup.py egg_info
if [ -e "$PREFIX_PYTHONPATH/ansible.egg-info" ] ; then if [ -e "$PREFIX_PYTHONPATH/ansible.egg-info" ] ; then
rm -r "$PREFIX_PYTHONPATH/ansible.egg-info" rm -r "$PREFIX_PYTHONPATH/ansible.egg-info"
fi fi
mv "ansible.egg-info" "$PREFIX_PYTHONPATH" python setup.py egg_info
} }
if [ "$ANSIBLE_HOME" != "$PWD" ] ; then if [ "$ANSIBLE_HOME" != "$PWD" ] ; then