summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hacking/env-setup2
-rw-r--r--hacking/env-setup.fish1
2 files changed, 3 insertions, 0 deletions
diff --git a/hacking/env-setup b/hacking/env-setup
index 8ba483279b..2bd08b46d5 100644
--- a/hacking/env-setup
+++ b/hacking/env-setup
@@ -57,8 +57,10 @@ fi
cd "$ANSIBLE_HOME"
if [ "$verbosity" = silent ] ; then
gen_egg_info > /dev/null 2>&1
+ rm **/*.pyc > /dev/null 2>&1
else
gen_egg_info
+ rm **/*.pyc
fi
cd "$current_dir"
)
diff --git a/hacking/env-setup.fish b/hacking/env-setup.fish
index 1b872f4dc0..079a10b47d 100644
--- a/hacking/env-setup.fish
+++ b/hacking/env-setup.fish
@@ -43,6 +43,7 @@ if test -e $PREFIX_PYTHONPATH/ansible*.egg-info
rm -r $PREFIX_PYTHONPATH/ansible*.egg-info
end
mv ansible*egg-info $PREFIX_PYTHONPATH
+rm **/*.pyc
popd