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