[Patches] [Patch #101702] Modify co_filename in frozen programs

noreply@sourceforge.net noreply@sourceforge.net
Fri, 29 Sep 2000 04:40:00 -0700


Patch #101702 has been updated. 

Project: 
Category: demos and tools
Status: Open
Summary: Modify co_filename in frozen programs

Follow-Ups:

Date: 2000-Sep-29 04:39
By: lhudson

Comment:
A new feature for freeze.

This patch was developed primarily to reduce the size of the frozen binary.  It is particularly useful when freezing for 'small' platforms, such as Palm OS, where you really want to save that last miserable byte.

A limitation of this patch is that it does not provide any feedback about the replacements being made.  As the path matching is case-sensitive this may lead to unexpected behaviour for DOS and Windows people, eg
    > freeze.py -r C:\Python\Lib\=py\ goats.py
should probably be:
    > freeze.py -r c:\python\lib\=py\ goats.py

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101702&group_id=5470