Changeset 4368

Show
Ignore:
Timestamp:
03/15/09 16:14:31 (4 years ago)
Author:
gpolo
Message:

Rename bin/umit to bin/umit_main.py instead to not cause problems with the umit package.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/install_scripts/macosx/py2app_setup.py

    r4366 r4368  
    2727 
    2828# py2app requires the values in the app's list to have known extensions, but 
    29 # bin/umit doesn't. Here bin/umit is renamed to bin/umit.py and the old name 
    30 # is stored in common.OLD_UMIT_MAIN so it can be renamed again later. 
     29# bin/umit doesn't. Here bin/umit is renamed to bin/umit_main.py and the old 
     30# name is stored in common.OLD_UMIT_MAIN so it can be renamed again later. 
    3131import shutil 
    32 shutil.move(common.UMIT_MAIN, common.UMIT_MAIN + '.py') 
     32shutil.move(common.UMIT_MAIN, common.UMIT_MAIN + '_main.py') 
    3333common.OLD_UMIT_MAIN = common.UMIT_MAIN 
    34 common.UMIT_MAIN = os.path.join(common.BIN_DIRNAME, 'umit.py') 
     34common.UMIT_MAIN = os.path.join(common.BIN_DIRNAME, 'umit_main.py') 
    3535 
    3636def revert_rename():