Commit 8e65ae9f authored by Gary Poster's avatar Gary Poster

merge from gary-3

parent e73c70bb
...@@ -60,12 +60,13 @@ setuptools_loc = pkg_resources.working_set.find( ...@@ -60,12 +60,13 @@ setuptools_loc = pkg_resources.working_set.find(
pkg_resources.Requirement.parse('setuptools') pkg_resources.Requirement.parse('setuptools')
).location ).location
# Include buildout and setuptools eggs in paths # Include buildout and setuptools eggs in paths. We prevent dupes just to
buildout_and_setuptools_path = [ # keep from duplicating any log messages about them.
setuptools_loc, buildout_loc = pkg_resources.working_set.find(
pkg_resources.working_set.find( pkg_resources.Requirement.parse('zc.buildout')).location
pkg_resources.Requirement.parse('zc.buildout')).location, buildout_and_setuptools_path = [setuptools_loc]
] if os.path.normpath(setuptools_loc) != os.path.normpath(buildout_loc):
buildout_and_setuptools_path.append(buildout_loc)
class IncompatibleVersionError(zc.buildout.UserError): class IncompatibleVersionError(zc.buildout.UserError):
......
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