From 7778116c2f573edf320bd55301137a968e4339d8 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Wed, 8 Dec 2021 19:25:58 +0000 Subject: bpo-46015: Fixes calculation of sys.path in a venv on Windows (GH-29992) Also ensures that pybuilddir.txt is written early enough in the build to be picked up by later steps. --- Lib/test/test_embed.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/test/test_embed.py') diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 94161b651f..8012d80bf3 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -1362,6 +1362,8 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): if not MS_WINDOWS: paths[-1] = lib_dynload else: + # Include DLLs directory as well + paths.insert(1, '.\\DLLs') for index, path in enumerate(paths): if index == 0: # Because we copy the DLLs into tmpdir as well, the zip file -- cgit v1.2.1