old_contents: # -*- coding: utf-8 -*-
  #
  # Quru Image Server
  #
  # Document:      __about__.py
  # Date started:  05 Aug 2013
  # By:            Alex Stapleton
  # Purpose:       App packaging info and version
  # Requires:
  # Copyright:     Quru Ltd (www.quru.com)
  # Licence:
  #
  #   This program is free software: you can redistribute it and/or modify
  #   it under the terms of the GNU Affero General Public License as published
  #   by the Free Software Foundation, either version 3 of the License, or
  #   (at your option) any later version.
  #
  #   This program is distributed in the hope that it will be useful,
  #   but WITHOUT ANY WARRANTY; without even the implied warranty of
  #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #   GNU Affero General Public License for more details.
  #
  #   You should have received a copy of the GNU Affero General Public License
  #   along with this program.  If not, see http://www.gnu.org/licenses/
  #
  
  __tag__ = "QIS"
  __title__ = "Quru Image Server"
  __summary__ = "A high performance dynamic image server"
  __description__ = ("To learn more about Quru Image Server, "
                     "please visit the project home page on GitHub or quru.com")
  __uri__ = "https://quru.com/qis/"
  __source_uri__ = "https://github.com/quru/qis"
  __platforms__ = ["Linux", "Unix", "Mac OSX"]
  
  __version__ = "2.6.4"
  
  __author__ = "Quru Ltd"
  __email__ = "info@quru.com"
  
  __license__ = "GNU Affero General Public License"
  __copyright__ = u"Copyright \xa9 2011 - 2017 Quru Ltd"
  
new_contents: # -*- coding: utf-8 -*-
  #
  # Quru Image Server
  #
  # Document:      __about__.py
  # Date started:  05 Aug 2013
  # By:            Alex Stapleton
  # Purpose:       App packaging info and version
  # Requires:
  # Copyright:     Quru Ltd (www.quru.com)
  # Licence:
  #
  #   This program is free software: you can redistribute it and/or modify
  #   it under the terms of the GNU Affero General Public License as published
  #   by the Free Software Foundation, either version 3 of the License, or
  #   (at your option) any later version.
  #
  #   This program is distributed in the hope that it will be useful,
  #   but WITHOUT ANY WARRANTY; without even the implied warranty of
  #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #   GNU Affero General Public License for more details.
  #
  #   You should have received a copy of the GNU Affero General Public License
  #   along with this program.  If not, see http://www.gnu.org/licenses/
  #
  
  __tag__ = "QIS"
  __title__ = "Quru Image Server"
  __summary__ = "A high performance dynamic image server"
  __description__ = ("To learn more about Quru Image Server, "
                     "please visit the project home page on GitHub or quru.com")
  __uri__ = "https://quru.com/qis/"
  __source_uri__ = "https://github.com/quru/qis"
  __platforms__ = ["Linux", "Unix", "Mac OSX"]
  
  __version__ = "2.6.4"
  
  __author__ = "Quru Ltd"
  __email__ = "info@quru.com"
  
  __license__ = "GNU Affero General Public License"
  __copyright__ = u"Copyright \xa9 2011 - 2017 Quru Ltd"
  
  
  # Support running this from the command line to get version info
  if __name__ == '__main__':
      import sys
      info = dict(vars())
      if len(sys.argv) == 1:
          ignore_list = ['sys', '__file__', '__builtins__', '__name__', '__doc__', '__package__']
          for k in info:
              if k not in ignore_list:
                  print k.strip('_') + ' = ' + (info[k] if isinstance(info[k], basestring) else str(info[k]))
      elif len(sys.argv) == 2 and sys.argv[1] == '--version':
          print info['__version__']
      else:
          print 'Usage: python __about__.py [--version]'
  
subject: Add command line support for getting version info