Commit 4b08a42f authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Update tools.py - A variable in zc.buildout has been renamed.

zc.buildout.easy_install.setuptools_loc -> zc.buildout.easy_install.setuptools_path
parent ca83afd7
Pipeline #6879 passed with stages
in 8 minutes and 50 seconds
......@@ -238,8 +238,10 @@ def get_pythonpath(working_set, buildout, prefixes):
if hasattr(zc.buildout.easy_install, 'distribute_loc'):
prepend_path(zc.buildout.easy_install.distribute_loc, paths)
else:
elif hasattr(zc.buildout.easy_install, 'setuptools_loc'):
prepend_path(zc.buildout.easy_install.setuptools_loc, paths)
else:
prepend_path(zc.buildout.easy_install.setuptools_path, paths)
return [k for k in working_set.entries \
if os.path.realpath(k) not in site_paths(buildout, prefixes)]
......
Supports Markdown
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