py2exe dll file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Indigo Moon Man

    py2exe dll file

    The .dll file that py2exe creates to go with the program is huge even for a
    small program. Is there any way to possibly optomize the .dll file to make
    it smaller?

    --
    Audio Bible Online:
    Audio Bible, The King James Version narrated by Stephen Johnston is on-line



  • Miki Tebeka

    #2
    Re: py2exe dll file

    Hello,
    [color=blue]
    > The .dll file that py2exe creates to go with the program is huge even for a
    > small program. Is there any way to possibly optomize the .dll file to make
    > it smaller?[/color]
    Which dll? Depending on your program it might have several dlls in the
    dist/prog directory.

    If size does matter you might want to try upx
    (http://upx.sourceforge.net/). With --best it reduced python23.dll
    from 952k to 386k and my proram seems to work.

    HTH.
    Miki

    Comment

    • Indigo Moon Man

      #3
      Re: py2exe dll file

      Miki Tebeka <tebeka@cs.bgu. ac.il> spake thusly:[color=blue]
      >[color=green]
      >> The .dll file that py2exe creates to go with the program is huge even
      >> for a small program. Is there any way to possibly optomize the .dll
      >> file to make it smaller?[/color][/color]
      [color=blue]
      > Which dll? Depending on your program it might have several dlls in the
      > dist/prog directory.
      >[/color]
      Oh, the one I have compiled only produced one (python23.dll) so I didn't
      know that.
      [color=blue]
      > If size does matter you might want to try upx
      > (http://upx.sourceforge.net/). With --best it reduced python23.dll
      > from 952k to 386k and my proram seems to work.
      >[/color]
      Cool, thanks for the info!

      --
      Audio Bible Online:
      Audio Bible, The King James Version narrated by Stephen Johnston is on-line



      Comment

      Working...