summaryrefslogtreecommitdiff
path: root/devel/py-setuptools/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-setuptools/INSTALL')
-rw-r--r--devel/py-setuptools/INSTALL14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/py-setuptools/INSTALL b/devel/py-setuptools/INSTALL
new file mode 100644
index 00000000000..436c8ac5d4e
--- /dev/null
+++ b/devel/py-setuptools/INSTALL
@@ -0,0 +1,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