Changeset 839f70f7 in sasview for src/sas


Ignore:
Timestamp:
Feb 2, 2019 4:49:27 PM (6 years ago)
Author:
butler
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
Children:
7556019
Parents:
f38ff0b
Message:

Move all version variables to init.py

Move release date (for copyright) and zenodo/DOI string from
local_config to sas.sasview._init_.py so that only init needs changing
for a new release.

Location:
src/sas/sasview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasview/__init__.py

    rf38ff0b r839f70f7  
    11__version__ = "4.2.1" 
     2__DOI__ = "Zenodo, 10.5281/zenodo.1412041" 
     3__release_date__ = "2019" 
    24__build__ = "GIT_COMMIT" 
  • src/sas/sasview/local_config.py

    re572d4b r839f70f7  
    1616__appname__ = "SasView" 
    1717__version__ = sas.sasview.__version__ 
    18 __DOI__ = "Zenodo, 10.5281/zenodo.1412041" 
     18__DOI__ = sas.sasview.__DOI__ 
     19__release_date__ = sas.sasview.__release_date__ 
    1920__build__ = sas.sasview.__build__ 
    2021__download_page__ = 'https://github.com/SasView/sasview/releases' 
     
    104105_corner_image = os.path.join(icon_path, "angles_flat.png") 
    105106_welcome_image = os.path.join(icon_path, "SVwelcome.png") 
    106 _copyright = ("(c) 2009 - 2019, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO," 
    107               "TU Delft, DLS and BAM") 
     107_copyright = ("(c) 2009 - %s, UTK, UMD, NIST, ORNL, ISIS, ESS, ILL, ANSTO," 
     108              "TU Delft, DLS and BAM") % __release_date__ 
    108109marketplace_url = "http://marketplace.sasview.org/" 
    109110 
Note: See TracChangeset for help on using the changeset viewer.