summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-02-23 22:56:05 +0000
committerJay Freeman <saurik@saurik.com>2008-02-23 22:56:05 +0000
commit7c975679160012dfd650a7f956781a9b4fa7f90c (patch)
tree1fc66d9752a5cb9e7178bf7c7f2f04b42d649039
parentea11e48e252bb1df2d1229ef01fde0219c88bf3a (diff)
Finished packaging the PyObjC stuff (finally), so the manual setuptools steps are no longer required.
git-svn-id: http://svn.telesphoreo.org/trunk@96 514c082c-b64e-11dc-b46d-3d985efe055d
l---------data/setuptools/_metadata/license (renamed from data/setuptools/_metadata/python)0
-rw-r--r--data/setuptools/_metadata/name1
-rw-r--r--data/setuptools/easy-install.pth3
-rwxr-xr-xdata/setuptools/easy_install9
-rwxr-xr-xdata/setuptools/easy_install-2.59
-rw-r--r--data/setuptools/make.sh9
-rw-r--r--data/setuptools/setuptools.pth1
7 files changed, 29 insertions, 3 deletions
diff --git a/data/setuptools/_metadata/python b/data/setuptools/_metadata/license
index 292d106a0..292d106a0 120000
--- a/data/setuptools/_metadata/python
+++ b/data/setuptools/_metadata/license
diff --git a/data/setuptools/_metadata/name b/data/setuptools/_metadata/name
new file mode 100644
index 000000000..d0e522114
--- /dev/null
+++ b/data/setuptools/_metadata/name
@@ -0,0 +1 @@
+Setup Tools
diff --git a/data/setuptools/easy-install.pth b/data/setuptools/easy-install.pth
new file mode 100644
index 000000000..4629fb3fa
--- /dev/null
+++ b/data/setuptools/easy-install.pth
@@ -0,0 +1,3 @@
+import sys; sys.__plen = len(sys.path)
+./setuptools-0.6c7-py2.5.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)
diff --git a/data/setuptools/easy_install b/data/setuptools/easy_install
new file mode 100755
index 000000000..be9156565
--- /dev/null
+++ b/data/setuptools/easy_install
@@ -0,0 +1,9 @@
+#!/usr/bin/python2.5
+# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.6c7','console_scripts','easy_install'
+__requires__ = 'setuptools==0.6c7'
+import sys
+from pkg_resources import load_entry_point
+
+sys.exit(
+ load_entry_point('setuptools==0.6c7', 'console_scripts', 'easy_install')()
+)
diff --git a/data/setuptools/easy_install-2.5 b/data/setuptools/easy_install-2.5
new file mode 100755
index 000000000..705ab80a5
--- /dev/null
+++ b/data/setuptools/easy_install-2.5
@@ -0,0 +1,9 @@
+#!/usr/bin/python2.5
+# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==0.6c7','console_scripts','easy_install-2.5'
+__requires__ = 'setuptools==0.6c7'
+import sys
+from pkg_resources import load_entry_point
+
+sys.exit(
+ load_entry_point('setuptools==0.6c7', 'console_scripts', 'easy_install-2.5')()
+)
diff --git a/data/setuptools/make.sh b/data/setuptools/make.sh
index f621d3428..992b4a4b7 100644
--- a/data/setuptools/make.sh
+++ b/data/setuptools/make.sh
@@ -1,3 +1,6 @@
-tail -n +9 "${PKG_DATA}/setuptools-0.6c7-py2.5.egg" >setuptools.zip
-unzip -d setuptools setuptools.zip
-cd setuptools
+#tail -n +9 "${PKG_DATA}/setuptools-0.6c7-py2.5.egg" >setuptools.zip
+#unzip -d setuptools setuptools.zip
+#cd setuptools
+pkg: mkdir -p /usr/bin /usr/lib/python2.5/site-packages
+pkg: cp -a %/easy_install %/easy_install-2.5 /usr/bin
+pkg: cp -a %/easy-install.pth %/setuptools-0.6c7-py2.5.egg %/setuptools.pth /usr/lib/python2.5/site-packages
diff --git a/data/setuptools/setuptools.pth b/data/setuptools/setuptools.pth
new file mode 100644
index 000000000..805b5df27
--- /dev/null
+++ b/data/setuptools/setuptools.pth
@@ -0,0 +1 @@
+./setuptools-0.6c7-py2.5.egg