blob: 436c8ac5d4e6c2866f9cc58e784d446e6d38e68e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/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
|