Skip to content

Commit b00312d

Browse files
remove usage of copytree from distutils (#1352)
1 parent 39f75e7 commit b00312d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zappa/core.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import uuid
2020
import zipfile
2121
from builtins import bytes, int
22-
from distutils.dir_util import copy_tree
2322
from io import open
2423
from pathlib import Path
2524
from typing import Optional
@@ -687,7 +686,7 @@ def splitpath(path):
687686
if egg_links:
688687
self.copy_editable_packages(egg_links, temp_package_path)
689688

690-
copy_tree(temp_package_path, temp_project_path, update=True)
689+
copytree(temp_package_path, temp_project_path, metadata=False, symlinks=False)
691690

692691
# Then the pre-compiled packages..
693692
if use_precompiled_packages:

0 commit comments

Comments
 (0)