[Checkins] SVN: zc.buildout/trunk/ renamed bootstrap module because it is specific to the buildout project itself.

Jim Fulton jim at zope.com
Mon Jun 26 14:01:31 EDT 2006


Log message for revision 68849:
  renamed bootstrap module because it is specific to the buildout project itself.

Changed:
  D   zc.buildout/trunk/bootstrap.py
  A   zc.buildout/trunk/dev.py

-=-
Deleted: zc.buildout/trunk/bootstrap.py
===================================================================
--- zc.buildout/trunk/bootstrap.py	2006-06-26 17:40:26 UTC (rev 68848)
+++ zc.buildout/trunk/bootstrap.py	2006-06-26 18:01:31 UTC (rev 68849)
@@ -1,41 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2005 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Bootstrap a buildout
-
-$Id$
-"""
-
-import os, sys, urllib2
-
-for d in 'eggs', 'develop-eggs', 'bin':
-    if not os.path.exists(d):
-        os.mkdir(d)
-
-ez = {}
-exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
-                     ).read() in ez
-ez['use_setuptools'](to_dir='eggs', download_delay=0)
-
-import pkg_resources
-
-os.spawnle(os.P_WAIT, sys.executable, sys.executable, 'setup.py',
-           '-q', 'develop', '-m', '-x', '-d', 'develop-eggs',
-           {'PYTHONPATH': os.path.dirname(pkg_resources.__file__)},
-           )
-pkg_resources.working_set.add_entry('src')
-
-import zc.buildout.easy_install
-zc.buildout.easy_install.scripts(
-    ['zc.buildout'], pkg_resources.working_set , sys.executable, 'bin')
-sys.exit(os.spawnl(os.P_WAIT, 'bin/buildout', 'bin/buildout'))

Copied: zc.buildout/trunk/dev.py (from rev 68838, zc.buildout/trunk/bootstrap.py)
===================================================================
--- zc.buildout/trunk/bootstrap.py	2006-06-25 21:03:50 UTC (rev 68838)
+++ zc.buildout/trunk/dev.py	2006-06-26 18:01:31 UTC (rev 68849)
@@ -0,0 +1,44 @@
+##############################################################################
+#
+# Copyright (c) 2005 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Bootstrap the buildout project itself.
+
+This is different from a normal boostrapping process because the
+buildout egg itself is installed as a develop egg.
+
+$Id$
+"""
+
+import os, sys, urllib2
+
+for d in 'eggs', 'develop-eggs', 'bin':
+    if not os.path.exists(d):
+        os.mkdir(d)
+
+ez = {}
+exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+                     ).read() in ez
+ez['use_setuptools'](to_dir='eggs', download_delay=0)
+
+import pkg_resources
+
+os.spawnle(os.P_WAIT, sys.executable, sys.executable, 'setup.py',
+           '-q', 'develop', '-m', '-x', '-d', 'develop-eggs',
+           {'PYTHONPATH': os.path.dirname(pkg_resources.__file__)},
+           )
+pkg_resources.working_set.add_entry('src')
+
+import zc.buildout.easy_install
+zc.buildout.easy_install.scripts(
+    ['zc.buildout'], pkg_resources.working_set , sys.executable, 'bin')
+sys.exit(os.spawnl(os.P_WAIT, 'bin/buildout', 'bin/buildout'))



More information about the Checkins mailing list