mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
makepanda: fix unnecessary re-copy of unmodified direct files
This commit is contained in:
parent
39988e4787
commit
c52db7239b
@ -3165,7 +3165,7 @@ def CopyPythonTree(dstdir, srcdir, lib2to3_fixers=[], threads=0):
|
||||
if (NeedsBuild([dstpth], [srcpth])):
|
||||
WriteBinaryFile(dstpth, ReadBinaryFile(srcpth))
|
||||
|
||||
if ext == '.py' and not entry.endswith('-extensions.py'):
|
||||
if ext == '.py' and not entry.endswith('-extensions.py') and lib2to3 is not None:
|
||||
refactor.append((dstpth, srcpth))
|
||||
lib2to3_args.append(dstpth)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user