~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Gary van der Merwe
  • Date: 2010-07-26 10:15:32 UTC
  • mto: (5050.3.17 2.2)
  • mto: This revision was merged to the branch mainline in revision 5361.
  • Revision ID: garyvdm@gmail.com-20100726101532-yrej0schgb4xfbwj
Add comment about why this change is done.

Show diffs side-by-side

added added

removed removed

Lines of Context:
695
695
                              },
696
696
                   }
697
697
 
 
698
    # We want the libaray.zip to have optimize = 2, but the exe to have
 
699
    # optimize = 1, so that .py files that get compilied at run time
 
700
    # (e.g. user installed plugins) dont have their doc strings removed.
698
701
    class py2exe_no_oo_exe(py2exe.build_exe.py2exe):
699
702
        def build_executable(self, *args, **kwargs):
700
703
            self.optimize = 1