···25 fi
2627 # remove ${pname}-${version}-${python-interpeter}-nspkg.pth
28- if [ -z ${dontRemovePth-} ]; then
0000029 # .pth files are located in the parent directory of a module
30 @findutils@/bin/find ${constructedPath}/../ -name '*-nspkg.pth' -exec rm -v "{}" +
31 fi
···25 fi
2627 # remove ${pname}-${version}-${python-interpeter}-nspkg.pth
28+ #
29+ # Still need to check that parent directory exists in the
30+ # event of a "meta-package" package, which will just install
31+ # other packages, but not produce anything in site-packages
32+ # besides meta information
33+ if [ -d "${constructedPath}/../" -a -z ${dontRemovePth-} ]; then
34 # .pth files are located in the parent directory of a module
35 @findutils@/bin/find ${constructedPath}/../ -name '*-nspkg.pth' -exec rm -v "{}" +
36 fi