Merge lp:~gz/bzr/support_OO_flag_installer into lp:bzr
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5260 |
Proposed branch: | lp:~gz/bzr/support_OO_flag_installer |
Merge into: | lp:bzr |
Diff against target: |
50 lines (+11/-7) 2 files modified
NEWS (+6/-0) setup.py (+5/-7) |
To merge this branch: | bzr merge lp:~gz/bzr/support_OO_flag_installer |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
John A Meinel | Needs Information | ||
Alexander Belchenko | Approve | ||
Review via email: mp+24484@code.launchpad.net |
Commit message
Make the installer on windows strip non-plugin docstrings.
Description of the change
Followup to the branch getting bzrlib to run correctly when docstrings are stripped. This alters the setup script to build the windows standalone installer that way, but should leave plugins untouched as they can be adapted later.
I'm not set up to properly test this here. If someone who builds windows installers can do a before and after, to see if this a) breaks anything and b) helps at all, that would be great.
The library.zip with the 2.1.1 installer is 17.2MB, I'm interested in how much of a saving can be got.
To post a comment you must log in.
So test this changes one needs to run following commands:
make run
python setup.py py2exe
(You need to remove `build` directory before you run py2exe because it keeps a cache of py/pyo files).
So, testing bzr.dev revno 5218 and this branch we have:
bzr.dev:
library.zip = 14 MB
and entire exe folder (just bzrlib w/o tbzr and other plugins) = 19 MB
This branch (with trunk changes merged):
library.zip = 11 MB
and entire exe folder = 17 MB
The numbers from the FAR file manager, so they are not very accurate. So this branch saves about 2-3 MB.