Skip to content

Commit

Permalink
Resolve #770
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Sep 11, 2022
1 parent c7b3ce3 commit 27cada7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.py
Expand Up @@ -9,8 +9,9 @@
import distutils
from pkg_resources import get_distribution
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext, copy_file
from setuptools.command.build_ext import build_ext
from distutils import log
from shutil import copy2

from distutils.version import LooseVersion

Expand Down Expand Up @@ -329,10 +330,9 @@ def build_extension(self, ext):
if not os.path.exists(self.build_lib):
os.makedirs(self.build_lib)

log.info("Copying {} into {}".format(pylief_path, pylief_dst))
copy_file(
pylief_path, pylief_dst, verbose=self.verbose,
dry_run=self.dry_run)
log.info(f"Copying {pylief_path} into {pylief_dst}")
if not self.dry_run:
copy2(pylief_path, pylief_dst)


# SDK
Expand Down

0 comments on commit 27cada7

Please sign in to comment.