From 315c373c5c8bad11ea067091ddc2469a2ea79cce Mon Sep 17 00:00:00 2001 From: Yicheng Luo Date: Sat, 11 May 2024 20:59:43 +0100 Subject: [PATCH] Fix test error --- lxm3/xm_cluster/packaging/create_archive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lxm3/xm_cluster/packaging/create_archive.py b/lxm3/xm_cluster/packaging/create_archive.py index 6960d74..cd63293 100644 --- a/lxm3/xm_cluster/packaging/create_archive.py +++ b/lxm3/xm_cluster/packaging/create_archive.py @@ -159,6 +159,7 @@ def create_pex_archive( archive_name = f"{spec.name}-{version}" pex_name = f"{spec.name}.pex" install_dir = os.path.join(staging, "install") + os.makedirs(install_dir, exist_ok=True) pex_path = os.path.join(install_dir, pex_name) pex_options = []