Skip to content

Commit

Permalink
remove usage of copytree from distutils (#1352)
Browse files Browse the repository at this point in the history
  • Loading branch information
sridhar562345 authored Sep 30, 2024
1 parent 39f75e7 commit b00312d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zappa/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import uuid
import zipfile
from builtins import bytes, int
from distutils.dir_util import copy_tree
from io import open
from pathlib import Path
from typing import Optional
Expand Down Expand Up @@ -687,7 +686,7 @@ def splitpath(path):
if egg_links:
self.copy_editable_packages(egg_links, temp_package_path)

copy_tree(temp_package_path, temp_project_path, update=True)
copytree(temp_package_path, temp_project_path, metadata=False, symlinks=False)

# Then the pre-compiled packages..
if use_precompiled_packages:
Expand Down

0 comments on commit b00312d

Please sign in to comment.