projects
/
feed
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python,python3: remove .egginfo directories
[feed/packages.git]
/
lang
/
python
/
python3
/
files
/
python3-package-install.sh
diff --git
a/lang/python/python3/files/python3-package-install.sh
b/lang/python/python3/files/python3-package-install.sh
index cc100518924c1dd8848ea1ed02592bad6a0c3d68..ae5e172807107352373998e6f2ed012f7e30cc3a 100644
(file)
--- a/
lang/python/python3/files/python3-package-install.sh
+++ b/
lang/python/python3/files/python3-package-install.sh
@@
-45,6
+45,9
@@
process_filespec "$src_dir" "$dst_dir" "$filespec" || {
exit 1
}
+# delete egg-info directories
+find "$dst_dir" -name "*.egg-info" | xargs rm -rf
+
if [ "$mode" == "sources" ] ; then
# Copy only python source files
find $dst_dir -not -name "*\.py" | xargs rm -f