python,python3: make deletion tolerant for paths with spaces
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 5 Feb 2019 10:04:43 +0000 (12:04 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Tue, 12 Feb 2019 10:31:54 +0000 (12:31 +0200)
commit1bf7679211425bb0f63f22ce00c700c7d84eb2d4
treea737ac0d6efc2c69152e9f5973fff9d8ab0fd458
parent14d0a9c58dc12c089c3d2209ebb1d9b37b68abad
python,python3: make deletion tolerant for paths with spaces

Piping to xargs does not handle spaces in paths too well, because it splits
up the paths.
For deleting empty dirs, we also need to do several retries, otherwise
`find` will try to go through the directories after they're deleted.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python-package-install.sh
lang/python/python3/files/python3-package-pip.mk
lang/python/python3/files/python3-package-setuptools.mk