summaryrefslogtreecommitdiff
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorErik Bray <embray@stsci.edu>2016-01-06 17:08:56 -0500
committerErik Bray <embray@stsci.edu>2016-01-06 17:08:56 -0500
commitd9f0c7c8b5aca8fdbe01b64cfa448784a363167d (patch)
tree26c8ac934a2dc3e61f28e4b482edb60a7b1d7468 /setuptools/command/test.py
parent6a0fcedd8225953c4764cd83122ef2777bd3f6d4 (diff)
downloadpython-setuptools-bitbucket-d9f0c7c8b5aca8fdbe01b64cfa448784a363167d.tar.gz
Sort __path__ entries for namespace packages according to their order
in sys.path. This ensures that lookups in __path__ will be the same as sys.path resolution. This also adds a replace argument to Distribution.insert_on meant to be used with the replace argumen to WorkingSet.add. This ensures that new sys.path entries added via WorkingSet.add are inserted at the beginning, rather than appended to the end. This is necessary for consistency with the above change, and kind of makes more sense anyways. This means that if a Distribution is added to a WorkingSet, that replaces a different version of that Distribution, the new version of that Distribution will have its location first on sys.path.
Diffstat (limited to 'setuptools/command/test.py')
0 files changed, 0 insertions, 0 deletions