On 23/10/2016 13:52, Thorsten Kampe wrote: > Hi, > > PyInstaller on Windows keeps rebuilding the executable on every > invocation even if nothing has changed. It claims "Building because > manifest changed". > > I'm invoking PyInstaller with > ``` > pyinstaller --noupx ^ > --icon "%iconfile,0" ^ > --onefile ^ > --workpath build\windows ^ > --distpath build ^ > %1 > ``` > > [F:\...\script] tcc> mkexe3.btm script.py > 228 INFO: PyInstaller: 3.2 > 229 INFO: Python: 3.5.2 > 230 INFO: Platform: Windows-10-10.0.10586-SP0 > 233 INFO: wrote F:\Documents\dev\python\script\script.spec > 281 INFO: UPX is available. > 284 INFO: Extending PYTHONPATH with paths > ['F:\\Documents\\dev\\python\\script', 'F:\\Documents\\dev\\python > \\script'] > 286 INFO: checking Analysis > 362 INFO: checking PYZ > 462 INFO: checking PKG > 469 INFO: Building because build\windows\script\script.exe.manifest > changed > 469 INFO: Building PKG (CArchive) out00-PKG.pkg > 2522 INFO: Bootloader F:\PortableApps\Python35\lib\site-packages > \PyInstaller\bootloader\Windows-64bit\run.exe > 2522 INFO: checking EXE > 2525 INFO: Building because manifest changed > 2525 INFO: Building EXE from out00-EXE.toc > 2576 INFO: SRCPATH [('\\PortableApps\\Python3x\\python.exe', 0)] > 2577 INFO: Updating icons from \PortableApps\Python3x\python.exe, 0 > to F:\PortableApps\ConEmu\Data\Temp\tmp5dqk3jc7 > 2611 INFO: Appending archive to EXE build\script.exe > Stoppuhr 1 aus: 14:43:33 Verstrichene Zeit: 0:00:03.70 > Lösche F:\Documents\dev\python\script\script.spec > 1 Datei gelöscht 32,768 Bytes freigegeben >
Just to be sure have you checked the date/time stamp on the manifest file? I have had a similar thing with make a few times when any of: the file had come from somewhere with an incompatible time stamp system resulting in a file that had a date far in the future, touch had been used to set a date way into the future, a system crash had corrupted the file system & (most common) the file had been McAfeed :-( -- Steve (Gadget) Barnes Any opinions in this message are my personal opinions and do not reflect those of my employer. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller+unsubscr...@googlegroups.com. To post to this group, send email to pyinstaller@googlegroups.com. Visit this group at https://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.