Index: src/zc/buildout/easy_install.py
===================================================================
--- src/zc/buildout/easy_install.py	(revision 85719)
+++ src/zc/buildout/easy_install.py	(working copy)
@@ -866,6 +866,18 @@
                     (name, entry_point.module_name,
                      '.'.join(entry_point.attrs))
                     )
+            #old style scripts if any. 
+            if dist.metadata_isdir('scripts'):
+                for name in dist.metadata_listdir('scripts'):
+                    sname = name
+                    if scripts is not None:
+                        sname = scripts.get(name)
+                        if sname is None:
+                            continue
+                    target = os.path.join(dest, sname)
+                    contents = dist.get_metadata(os.path.join('scripts' + name))
+                    generated.extend(
+                       _old_style_script(target, contents, path, executable))
         else:
             entry_points.append(req)
                 
@@ -889,6 +901,56 @@
 
     return generated
 
+def _old_style_script(dest, body, path, executable):
+    generated = []
+    script = dest
+    if sys.platform == 'win32':
+        dest += '-script.py'
+
+    body = body.strip().split('\n')
+    if body and body[0].startswith('#!/'):
+        del body[0]
+    body = '\n'.join(body)
+
+    contents = old_style_script_template % dict(
+        python = executable,
+        path = path,
+        body = body,
+        )
+
+    changed = not (os.path.exists(dest) and open(dest).read() == contents)
+
+    if sys.platform == 'win32':
+        # generate exe file and give the script a magic name:
+        exe = script+'.exe'
+        open(exe, 'wb').write(
+            pkg_resources.resource_string('setuptools', 'cli.exe')
+            )
+        generated.append(exe)
+        
+    if changed:
+        open(dest, 'w').write(contents)
+        logger.info("Generated script %r.", script)
+
+        try:
+            os.chmod(dest, 0755)
+        except (AttributeError, os.error):
+            pass
+        
+    generated.append(dest)
+    return generated
+
+old_style_script_template = '''\
+#!%(python)s
+
+import sys
+sys.path[0:0] = [
+  %(path)s,
+  ]
+
+%(body)s
+'''
+
 def _script(module_name, attrs, path, dest, executable, arguments,
             initialization):
     generated = []
