[Build-common-hackers] Bug#671319: Bug#671076: cdbs does not remove *.egg-info directory

Jakub Wilk jwilk at debian.org
Tue Jul 10 08:32:59 UTC 2012

* Vincent Bernat <bernat at luffy.cx>, 2012-05-12, 11:06:
>reassign 671319 cdbs
>reassign 671099 cdbs
>reassign 671076 cdbs
>retitle 671319 "cdbs does not remove *.egg-info directories"
>retitle 671099 "cdbs does not remove *.egg-info directories"
>retitle 671076 "cdbs does not remove *.egg-info directories"
>merge 671319 671099 671076
>cdbs is using this snippet in python-distutils.mk:
>find "$(CURDIR)" -prune -name '*.egg-info' -exec rm -rf '{}' ';'
>find "$(CURDIR)" -prune is $(CURDIR) and does not match -name switch 
>and therefore nothing happens. I don't know why -prune is here. Maybe:
>find "$(CURDIR)" -maxdepth 1 -name '*.egg-info' -exec rm -rf '{}' ';'

It's true that the original code is buggy, but I also don't think that 
cdbs should remove *.egg-info. It's not safe to do it unconditionally; 
there are known cases of packages breaking if you do that.

Please either:
- reassign the bugs back to python-recaptcha, pycha and nevow
- or change submitter to yourself.

Jakub Wilk

More information about the Build-common-hackers mailing list