Confused about --out=path option

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Confused about --out=path option

Using 2.0 on Mac OSX.
When I use the option --out=$HOME/Desktop/scratch
what I find in "scratch" is:

   drwxr-xr-x  3 original  staff  102 Mar 27 13:01 build/
         drwxr-xr-x  3 original  staff  102 Mar 27 13:01 pyi.darwin/
               drwxr-xr-x  11 original  staff  374 Mar 27 13:02 myscript/
                              -rw-r--r--  1 original  staff    51618
Mar 27 13:01 out00-Analysis.toc
                              -rw-r--r--  1 original  staff    11590
Mar 27 13:02 out00-COLLECT.toc
                              -rw-r--r--  1 original  staff      128
Mar 27 13:01 out00-EXE.toc
                              -rw-r--r--  1 original  staff  1160401
Mar 27 13:01 out00-PKG.pkg
                              -rw-r--r--  1 original  staff     1404
Mar 27 13:01 out00-PKG.toc
                              -rw-r--r--  1 original  staff  1134736
Mar 27 13:01 out00-PYZ.pyz
                              -rw-r--r--  1 original  staff    39032
Mar 27 13:01 out00-PYZ.toc
                              -rwxr-xr-x  1 original  staff  1194861
Mar 27 13:01 myscript*
                              -rw-r--r--  1 original  staff     9028
Mar 27 13:01 warnppqt.txt
   drwxr-xr-x  3 original  staff  102 Mar 27 13:01 dist/
         drwxr-xr-x  83 original  staff  2822 Mar 27 13:02 myscript/
               <all the collected libs and stuff plus...>
               -rwxr-xr-x  1 original  staff   1194861 Mar 27 13:01 ppqt*
   -rw-r--r--  1 original  staff  621 Mar 27 13:01 myscript.spec

Several things about this puzzle me.

1) Why is there a "build" dir here? I did not specify the
--build-path= option. There is a "build" dir back in the cwd where the
command ran, and it did receive a logdict*.log file at this time.

2) Why does this "scratch/build" dir have an extra copy of the
executable myscript* ? It's rather large.

3) Is there a reason to retain the .toc, .pkg, and .pyz files after
the job is done? They are also rather large.

I would file a ticket on this but I am not clear about what the
correct behavior should be.
(Also what I should document as the expected behavior!)


Dave Cortesi

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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at
For more options, visit