Skip to content

Commit

Permalink
Fix missing copy_file (related to #770)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Oct 1, 2022
1 parent fad1db9 commit d21af83
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions setup.py
Expand Up @@ -345,10 +345,8 @@ def build_extension(self, ext):

sdk_path = str(sdk_path.pop())
sdk_output = str(pathlib.Path(CURRENT_DIR) / "build")

copy_file(
sdk_path, sdk_output, verbose=self.verbose,
dry_run=self.dry_run)
if not self.dry_run:
copy2(sdk_path, sdk_output)

def get_platform():
out = get_platform_backup()
Expand Down

0 comments on commit d21af83

Please sign in to comment.