bpo-37672: Switch Windows Store package to use pip.ini for user mode (GH-14939)

(cherry picked from commit 123536fdab)

Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
Miss Islington (bot) 2019-07-24 15:31:48 -07:00 committed by GitHub
parent 0cdb21d6eb
commit 4b7ce105ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 35 deletions

View file

@ -228,7 +228,7 @@ def get_layout(ns):
if ns.include_pip:
for dest, src in get_pip_layout(ns):
if isinstance(src, tuple) or not (
if not isinstance(src, tuple) and (
src in EXCLUDE_FROM_LIB or src in EXCLUDE_FROM_PACKAGED_LIB
):
continue