bc0554ccaa
principle usable on Python 2.3 as well, but not tested yet.
14 lines
386 B
Text
14 lines
386 B
Text
#!/bin/sh
|
|
#
|
|
# $NetBSD: INSTALL,v 1.1.1.1 2006/11/14 13:33:29 joerg Exp $
|
|
#
|
|
|
|
case $STAGE in
|
|
POST-INSTALL)
|
|
cat > @PYSITELIB@/easy-install.pth << EOF
|
|
import sys; sys.__plen = len(sys.path)
|
|
./setuptools-0.6c1-py@PYVERSSUFFIX@.egg
|
|
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)
|
|
EOF
|
|
;;
|
|
esac
|