Commit e335fcc7 authored by Hanno Schlichting's avatar Hanno Schlichting

Backport c120882 from trunk

parent 0825b7eb
...@@ -4,6 +4,8 @@ Change History ...@@ -4,6 +4,8 @@ Change History
1.4.5 (unreleased) 1.4.5 (unreleased)
================== ==================
- Remove duplicate path from script's sys.path setup.
Bugs fixed: Bugs fixed:
- In the download module, fixed the handling of directories that are pointed - In the download module, fixed the handling of directories that are pointed
......
...@@ -915,7 +915,12 @@ def scripts(reqs, working_set, executable, dest, ...@@ -915,7 +915,12 @@ def scripts(reqs, working_set, executable, dest,
path = [dist.location for dist in working_set] path = [dist.location for dist in working_set]
path.extend(extra_paths) path.extend(extra_paths)
path = map(realpath, path) # order preserving unique
unique_path = []
for p in path:
if p not in unique_path:
unique_path.append(p)
path = map(realpath, unique_path)
generated = [] generated = []
......
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