source: sasview/sansview/__init__.py @ 9e89e77

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 9e89e77 was 9e89e77, checked in by Mathieu Doucet <doucetm@…>, 12 years ago

trying to figure out why windows installer doesn't get the right build version.

  • Property mode set to 100644
File size: 268 bytes
Line 
1__version__ = "2.0.1"
2
3try:
4    import pkg_resources
5    d = pkg_resources.get_distribution("sansview")
6    rev = int(d.parsed_version[5])
7    __build__ = str(rev)
8except:
9    __build__ = "1"
10    import sys
11    print "Error getting build version\n  %s" % sys.exc_value
Note: See TracBrowser for help on using the repository browser.