Ignore:
Timestamp:
07/08/12 16:24:30 (8 years ago)
Author:
mnagni
Message:

Incomplete - # 22534: Add versiojn number to the gui page
 http://team.ceda.ac.uk/trac/ceda/ticket/22534
fixing some pylint issues
changing the versioning strategy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/setup.py

    r8488 r8489  
    88VERSION = re.compile(r".*__version__ = '(.*?)'", 
    99                     re.S).match(v_file.read()).group(1) 
    10 if VERSION.endswith('SNAPSHOT'): 
    11     VERSION = VERSION + '_' +str(int(time.time())) 
     10 
     11if os.environ.has_key('SVN_REVISION'): 
     12    VERSION = VERSION + '_' + os.environ['SVN_REVISION'] 
     13 
    1214setup( 
    1315    name='cedaMoles', 
Note: See TracChangeset for help on using the changeset viewer.