Changeset 0f382d7 in sasview for sansview/installer_generator.py


Ignore:
Timestamp:
Sep 24, 2012 5:18:26 PM (12 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f51c8ad
Parents:
6034e16
Message:

fixed problems with copying data file to .sasview folder (in installer)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/installer_generator.py

    r2bb625f r0f382d7  
    197197    msg += """Source: "dist\*";\tDestDir: "{app}";\t""" 
    198198    msg += """Flags: ignoreversion recursesubdirs createallsubdirs\n""" 
    199     msg += """Source: "dist\default_categories.p";    DestDir: "{userappdata}\..\.sasview";\t"""  
     199    msg += """Source: "dist\plugin_models\*";\tDestDir: "{userdesktop}\..\.sasview\plugin_models";\t"""  
     200    msg += """Flags: recursesubdirs createallsubdirs\n""" 
     201    msg += """Source: "dist\config\custom_config.py";\tDestDir: "{userdesktop}\..\.sasview\config";\t"""  
     202    msg += """Flags: recursesubdirs createallsubdirs\n""" 
     203    msg += """Source: "dist\default_categories.p";    DestDir: "{userdesktop}\..\.sasview";\t"""  
    200204    msg += """DestName: "serialized_cat.p";\n""" 
    201     msg += """Source: "dist\plugin_models\*";\tDestDir: "{userappdata}\..\.sasview\plugin_models";\t"""  
    202     msg += """Flags: recursesubdirs createallsubdirs\n""" 
    203     msg += """Source: "dist\config\custom_config.py";\tDestDir: "{userappdata}\..\.sasview\config";\t"""  
    204     msg += """Flags: recursesubdirs createallsubdirs\n""" 
    205205    msg += """;\tNOTE: Don't use "Flags: ignoreversion" on any shared system files""" 
    206206    return msg 
Note: See TracChangeset for help on using the changeset viewer.