diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-04-10 03:07:33 +0100 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-15 16:43:53 +0100 |
commit | 50afbf41f470e75f67afe957023b3e03e3d41edc (patch) | |
tree | 0976da37cc7eefde137ffd33fca1fb42f1ee618d /setuptools/command/build_ext.py | |
parent | f5643f55398742ce63264e42c4232faa420e18c4 (diff) | |
download | python-setuptools-git-50afbf41f470e75f67afe957023b3e03e3d41edc.tar.gz |
Add LinkTree strategy for build executable
Diffstat (limited to 'setuptools/command/build_ext.py')
-rw-r--r-- | setuptools/command/build_ext.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index c59eff8b..1719d17a 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -3,7 +3,6 @@ import sys import itertools from importlib.machinery import EXTENSION_SUFFIXES from distutils.command.build_ext import build_ext as _du_build_ext -from distutils.file_util import copy_file from distutils.ccompiler import new_compiler from distutils.sysconfig import customize_compiler, get_config_var from distutils.errors import DistutilsError @@ -96,10 +95,7 @@ class build_ext(_build_ext): # Always copy, even if source is older than destination, to ensure # that the right extensions for the current Python/platform are # used. - copy_file( - src_filename, dest_filename, verbose=self.verbose, - dry_run=self.dry_run - ) + build_py.copy_file(src_filename, dest_filename) if ext._needs_stub: self.write_stub(package_dir or os.curdir, ext, True) |