Commit 4adf020e authored by Jim Fulton's avatar Jim Fulton

Reverted 82078, which made script path order non-deterministic,

leading to test failures.  The change also caused buildout to fail
with Python 2.3, which lacks a set builtin.
parent 77fc9089
......@@ -14,10 +14,6 @@ Change History
1.0.0b32 (2007-???)
=====================
- The list of eggs in generated scripts is sorted and duplicates
removed. This prevents problems in WingIDE and makes it easier for
humans to look at and use the list of eggs.
- Added a french translation of the buildout tutorial
1.0.0b31 (2007-11-01)
......
......@@ -849,9 +849,6 @@ def scripts(reqs, working_set, executable, dest,
path = [dist.location for dist in working_set]
path.extend(extra_paths)
# sort and remove duplicates
path = list(set(path))
path.sort()
path = repr(path)[1:-1].replace(', ', ',\n ')
generated = []
......
......@@ -681,9 +681,9 @@ to be included in the a generated script:
<BLANKLINE>
import sys
sys.path[0:0] = [
'/foo/bar',
'/sample-install/demo-0.3-py2.4.egg',
'/sample-install/demoneeded-1.1-py2.4.egg',
'/foo/bar',
]
<BLANKLINE>
import eggrecipedemo
......
......@@ -85,8 +85,8 @@ Our buildout script has been updated to use the new eggs:
<BLANKLINE>
import sys
sys.path[0:0] = [
'/sample-buildout/eggs/setuptools-99.99-py2.4.egg',
'/sample-buildout/eggs/zc.buildout-99.99-py2.4.egg',
'/sample-buildout/eggs/setuptools-99.99-py2.4.egg',
]
<BLANKLINE>
import zc.buildout.buildout
......
......@@ -358,9 +358,9 @@ Let's look at the script that was generated:
<BLANKLINE>
import sys
sys.path[0:0] = [
'/foo/bar',
'/sample-buildout/eggs/demo-0.4c1-py2.4.egg',
'/sample-buildout/eggs/demoneeded-1.2c1-py2.4.egg',
'/foo/bar',
'/spam/eggs',
]
<BLANKLINE>
......@@ -405,9 +405,9 @@ to be included in generated scripts:
<BLANKLINE>
import sys
sys.path[0:0] = [
'/foo/bar',
'/sample-buildout/eggs/demo-0.4c1-py2.4.egg',
'/sample-buildout/eggs/demoneeded-1.2c1-py2.4.egg',
'/foo/bar',
'/spam/eggs',
]
<BLANKLINE>
......@@ -463,9 +463,9 @@ declare entry points using the entry-points option:
<BLANKLINE>
import sys
sys.path[0:0] = [
'/foo/bar',
'/sample-buildout/eggs/demo-0.4c1-py2.4.egg',
'/sample-buildout/eggs/demoneeded-1.2c1-py2.4.egg',
'/foo/bar',
'/spam/eggs',
]
<BLANKLINE>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment