Skip to content

Commit fa06de8

Browse files
committed
fix setuptools integration issue
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
1 parent baf760d commit fa06de8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ivpm/setup/build_ext.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ def copy_extensions_to_source(self):
111111

112112
os.makedirs(os.path.dirname(dest_filename), exist_ok=True)
113113

114-
copy_file(
115-
src_filename,
116-
dest_filename,
117-
verbose=self.verbose,
118-
dry_run=self.dry_run
119-
)
114+
if not self.dry_run:
115+
copy_file(
116+
src_filename,
117+
dest_filename,
118+
verbose=self.verbose,
119+
)
120120

121121
# Appy any post-copy hooks
122122
for hook in get_hooks(Phase_BuildPost):

0 commit comments

Comments
 (0)