85 |
85 |
86 def version(): |
86 def version(): |
87 """ |
87 """ |
88 Function to show the version information. |
88 Function to show the version information. |
89 """ |
89 """ |
90 print("""eric5_api {0} |
90 print( |
91 |
91 """eric5_api {0}\n""" |
92 Eric5 API generator. |
92 """\n""" |
93 |
93 """Eric5 API generator.\n""" |
94 Copyright (c) 2004 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> |
94 """\n""" |
95 This is free software; see the LICENSE.GPL3 for copying conditions. |
95 """Copyright (c) 2004 - 2013 Detlev Offenbach""" |
96 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A |
96 """ <detlev@die-offenbachs.de>\n""" |
97 PARTICULAR PURPOSE.""".format(Version)) |
97 """This is free software; see the LICENSE.GPL3 for copying""" |
|
98 """ conditions.\n""" |
|
99 """There is NO warranty; not even for MERCHANTABILITY or FITNESS""" |
|
100 """ FOR A\n""" |
|
101 """PARTICULAR PURPOSE.""".format(Version)) |
98 sys.exit(1) |
102 sys.exit(1) |
99 |
103 |
100 |
104 |
101 def main(): |
105 def main(): |
102 """ |
106 """ |
103 Main entry point into the application. |
107 Main entry point into the application. |
104 """ |
108 """ |
105 global supportedExtensions |
109 global supportedExtensions |