From 0d4ccb59ec42ae0f0198df7c4da79aa8b6689d76 Mon Sep 17 00:00:00 2001 From: hallvictoria <59299039+hallvictoria@users.noreply.github.com> Date: Fri, 30 Aug 2024 14:53:14 -0500 Subject: [PATCH] remove unnecessary files from worker package (#1571) Co-authored-by: Victoria Hall --- pack/templates/macos_64_env_gen.yml | 4 ++++ pack/templates/nix_env_gen.yml | 4 ++++ pack/templates/win_env_gen.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/pack/templates/macos_64_env_gen.yml b/pack/templates/macos_64_env_gen.yml index 8635e9ed..8fb49f73 100644 --- a/pack/templates/macos_64_env_gen.yml +++ b/pack/templates/macos_64_env_gen.yml @@ -31,4 +31,8 @@ steps: !python/** !tests/** !setuptools*/** + !_distutils_hack/** + !distutils-precedence.pth + !pkg_resources/** + !*.dist-info/** targetFolder: '$(Build.ArtifactStagingDirectory)' diff --git a/pack/templates/nix_env_gen.yml b/pack/templates/nix_env_gen.yml index 3a8c17c3..7c2b6870 100644 --- a/pack/templates/nix_env_gen.yml +++ b/pack/templates/nix_env_gen.yml @@ -31,4 +31,8 @@ steps: !python/** !tests/** !setuptools*/** + !_distutils_hack/** + !distutils-precedence.pth + !pkg_resources/** + !*.dist-info/** targetFolder: '$(Build.ArtifactStagingDirectory)' diff --git a/pack/templates/win_env_gen.yml b/pack/templates/win_env_gen.yml index 322375b2..0ae4f70e 100644 --- a/pack/templates/win_env_gen.yml +++ b/pack/templates/win_env_gen.yml @@ -31,4 +31,8 @@ steps: !python\** !tests\** !setuptools*\** + !_distutils_hack\** + !distutils-precedence.pth + !pkg_resources\** + !*.dist-info\** targetFolder: '$(Build.ArtifactStagingDirectory)'