Changeset fe4224b in sasview


Ignore:
Timestamp:
Sep 9, 2011 5:04:52 PM (13 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:
6446f87
Parents:
3bc6090
Message:

improved the previous commit

Location:
sansview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/build_sansview.py

    r3bc6090 rfe4224b  
    270270            import datetime 
    271271            for line in conf_file.readlines(): 
    272                 conf += line 
    273                 if line.count('__version__'): 
     272                if line.count('__build__'): 
    274273                    conf += "__build__ = '%s-%s' \n"% (build_num, datetime.date.today()) 
     274                else: 
     275                    conf += line 
    275276            conf_file.close() 
    276277            conf_file = open('local_config.py', 'w') 
  • sansview/local_config.py

    rdcbd4e2c rfe4224b  
    88__appname__ = "SansView" 
    99__version__ = '1.9.2dev_AUG' 
     10__build__ = '1.9.2dev_AUG' 
    1011__download_page__ = 'http://danse.chem.utk.edu' 
    1112__update_URL__ = 'http://danse.chem.utk.edu/sansview_version.php' 
Note: See TracChangeset for help on using the changeset viewer.