[update] update installation script in order to distribute current version

This commit is contained in:
Sebastian Wehling-Benatelli 2016-04-28 15:20:46 +02:00
parent df44979337
commit 28fc226750

View File

@ -34,7 +34,7 @@ from argparse import RawDescriptionHelpFormatter
__all__ = []
__version__ = 0.1
__date__ = '2014-11-26'
__updated__ = '2014-11-26'
__updated__ = '2016-04-28'
DEBUG = 0
TESTRUN = 0
@ -69,9 +69,9 @@ def main(argv=None): # IGNORE:C0111
program_version_message = 'makePyLoT %s (%s)' % (
program_version, program_build_date)
program_shortdesc = __import__('__main__').__doc__.split("\n")[1]
program_license = '''%s
program_license = '''{0:s}
Created by Sebastian Wehling-Benatelli on %s.
Created by Sebastian Wehling-Benatelli on {1:s}.
Copyright 2014 MAGS2 EP3 Working Group. All rights reserved.
GNU Lesser General Public License, Version 3
@ -80,8 +80,8 @@ def main(argv=None): # IGNORE:C0111
Distributed on an "AS IS" basis without warranties
or conditions of any kind, either express or implied.
USAGE
''' % (program_shortdesc, str(__date__))
USAGE
'''.format(program_shortdesc, str(__date__))
try:
# Setup argument parser