source: sasview/sasview/ @ 8eee1d7

Last change on this file since 8eee1d7 was 8eee1d7, checked in by krzywon, 9 years ago

Changed the sasview.init to look for the (short) git hash instead of
the svn revision number that is used in the file name for the egg.

  • Property mode set to 100644
File size: 293 bytes
1__version__ = "3.1.0"
2__build__ = "1"
4    import subprocess
5    d = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'])
6    __build__ = str(d).strip()
8    import logging
9    import sys
10    logging.warning("Error while determining build number\n  %s" % sys.exc_value)
Note: See TracBrowser for help on using the repository browser.