Changeset 7556019 in sasview
- Timestamp:
- Feb 2, 2019 9:27:09 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
- Children:
- 5fcb814
- Parents:
- 839f70f7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/source/conf.py
rf38ff0b r7556019 25 25 print("-- path --") 26 26 print("\n".join(sys.path)) 27 28 #need to import src.sas.sasview init to access version number and dates 29 #use abspath as above to locate then import 30 sasview_path = os.path.abspath('../../../src/sas') 31 sys.path.append(sasview_path) 32 import sas.sasview 27 33 28 34 # -- General configuration ----------------------------------------------------- … … 71 77 72 78 # General information about the project. 79 copyright_date = sas.sasview.__release_date__ 73 80 project = u'SasView' 74 copyright = u' 2019, The SasView Project'81 copyright = u'%s, The SasView Project' % copyright_date 75 82 76 83 # The version info for the project you're documenting, acts as replacement for … … 79 86 # 80 87 # The short X.Y version. 81 version = '4.2'88 version = sas.sasview.__major_version__ + "." + sas.sasview.__minor_version__ 82 89 # The full version, including alpha/beta/rc tags. 83 release = '4.2.1'90 release = sas.sasview.__version__ 84 91 85 92 # The language for content autogenerated by Sphinx. Refer to documentation -
src/sas/sasview/__init__.py
r839f70f7 r7556019 1 __version__ = "4.2.1" 1 __major_version__ = "4" 2 __minor_version__ = "2" 3 __version__ = __major_version__ + "." + __minor_version__ + ".1" 2 4 __DOI__ = "Zenodo, 10.5281/zenodo.1412041" 3 5 __release_date__ = "2019"
Note: See TracChangeset
for help on using the changeset viewer.