update Tue May 18 00:37:00 PDT 2010
[pkgsrc.git] / devel / py-setuptools / INSTALL
1 #!/bin/sh
2 #
3 # $NetBSD: INSTALL,v 1.1.1.1 2006/11/14 13:33:29 joerg Exp $
4 #
5
6 case $STAGE in
7 POST-INSTALL)
8         cat > @PYSITELIB@/easy-install.pth << EOF
9 import sys; sys.__plen = len(sys.path)
10 ./setuptools-0.6c1-py@PYVERSSUFFIX@.egg
11 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)
12 EOF
13         ;;
14 esac