[Checkins] SVN: zc.buildout/branch/regebro-python3/dev.py Remove dev.py as you shouldn't develop it at all. Just use setup.py develop, it's enough.

Lennart Regebro regebro at gmail.com
Fri Apr 16 12:51:59 EDT 2010


Log message for revision 110985:
  Remove dev.py as you shouldn't develop it at all. Just use setup.py develop, it's enough.
  

Changed:
  D   zc.buildout/branch/regebro-python3/dev.py

-=-
Deleted: zc.buildout/branch/regebro-python3/dev.py
===================================================================
--- zc.buildout/branch/regebro-python3/dev.py	2010-04-16 16:38:18 UTC (rev 110984)
+++ zc.buildout/branch/regebro-python3/dev.py	2010-04-16 16:51:59 UTC (rev 110985)
@@ -1,64 +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 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, shutil, sys, subprocess
-try:
-    from urllib2 import urlopen
-except: # Python 3
-    from urllib.request import urlopen
-
-is_jython = sys.platform.startswith('java')
-
-for d in 'eggs', 'develop-eggs', 'bin':
-    if not os.path.exists(d):
-        os.mkdir(d)
-
-if os.path.isdir('build'):
-    shutil.rmtree('build')
-
-try:
-    import pkg_resources
-except ImportError:
-    ez = {}
-    exec(urlopen('http://python-distribute.org/distribute_setup.py'
-                         ).read(), ez)
-    ez['use_setuptools'](to_dir='eggs', download_delay=0)
-
-    import pkg_resources
-
-subprocess.Popen(
-    [sys.executable] +
-    ['setup.py', '-q', 'develop', '-m', '-x', '-d', 'develop-eggs'],
-    env = {'PYTHONPATH': os.path.dirname(pkg_resources.__file__)}).wait()
-
-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')
-
-bin_buildout = os.path.join('bin', 'buildout')
-
-if is_jython:
-    # Jython needs the script to be called twice via sys.executable
-    assert subprocess.Popen([sys.executable] + [bin_buildout]).wait() == 0
-
-sys.exit(subprocess.Popen(bin_buildout).wait())



More information about the checkins mailing list