python: remove colliding site.py* files
This commit is contained in:
parent
e7c1aa52cc
commit
2c3ffeb79c
@ -29,6 +29,11 @@
|
||||
# move colliding easy_install.pth to specifically named one
|
||||
mv "$eapth" $(dirname "$eapth")/${name}.pth
|
||||
fi
|
||||
|
||||
# Remove any site.py files generated by easy_install as these
|
||||
# cause collisions. If pth files are to be processed a
|
||||
# corresponding site.py needs to be included in the PYTHONPATH.
|
||||
rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py*
|
||||
''
|
||||
|
||||
, buildPhase ? "true"
|
||||
|
Loading…
Reference in New Issue
Block a user