We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f8ee1 commit f99f7f1Copy full SHA for f99f7f1
setup.py
@@ -554,7 +554,7 @@ def build_extensions(self):
554
if name1 is not None:
555
src = os.path.join(self.build_temp, os.path.dirname(ext.sources[0]), name1)
556
dst = os.path.join(self.build_temp, name2)
557
- if os.path.abspath(src) != os.path.abspath(dst) and os.path.isfile(src):
+ if os.path.abspath(src) != os.path.abspath(dst) and os.path.isfile(src) and not os.path.isfile(dst):
558
print('Copying file from: ', src)
559
print('Copying file to: ', dst)
560
self.copy_file(src, dst)
@@ -1857,4 +1857,4 @@ def convert_optional_data_files(files):
1857
('', ('com/pythoncom.py',)),
1858
('', ('pywin32.pth',)),
1859
],
1860
- )
+ )
0 commit comments