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.
2 parents 6cb8531 + f99f7f1 commit a155f0dCopy full SHA for a155f0d
setup.py
@@ -564,7 +564,7 @@ def build_extensions(self):
564
if name1 is not None:
565
src = os.path.join(self.build_temp, os.path.dirname(ext.sources[0]), name1)
566
dst = os.path.join(self.build_temp, name2)
567
- 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):
568
print('Copying file from: ', src)
569
print('Copying file to: ', dst)
570
self.copy_file(src, dst)
@@ -1861,4 +1861,4 @@ def convert_optional_data_files(files):
1861
('', ('com/pythoncom.py',)),
1862
('', ('pywin32.pth',)),
1863
],
1864
- )
+ )
0 commit comments