eric7/eric7_api.py

branch
eric7
changeset 8314
e3642a6a1e71
parent 8312
800c432b34c8
child 8408
a8eb084b974e
equal deleted inserted replaced
8313:dac33c7fce07 8314:e3642a6a1e71
31 Function to print some usage information. 31 Function to print some usage information.
32 32
33 It prints a reference of all commandline parameters that may 33 It prints a reference of all commandline parameters that may
34 be used and ends the application. 34 be used and ends the application.
35 """ 35 """
36 print("eric6_api") 36 print("eric7_api")
37 print() 37 print()
38 print("Copyright (c) 2004 - 2021 Detlev Offenbach" 38 print("Copyright (c) 2004 - 2021 Detlev Offenbach"
39 " <detlev@die-offenbachs.de>.") 39 " <detlev@die-offenbachs.de>.")
40 print() 40 print()
41 print("Usage:") 41 print("Usage:")
42 print() 42 print()
43 print(" eric6_api [options] files...") 43 print(" eric7_api [options] files...")
44 print() 44 print()
45 print("where files can be either python modules, package") 45 print("where files can be either python modules, package")
46 print("directories or ordinary directories.") 46 print("directories or ordinary directories.")
47 print() 47 print()
48 print("Options:") 48 print("Options:")
90 def version(): 90 def version():
91 """ 91 """
92 Function to show the version information. 92 Function to show the version information.
93 """ 93 """
94 print( 94 print(
95 """eric6_api {0}\n""" 95 """eric7_api {0}\n"""
96 """\n""" 96 """\n"""
97 """eric API generator.\n""" 97 """eric API generator.\n"""
98 """\n""" 98 """\n"""
99 """Copyright (c) 2004 - 2021 Detlev Offenbach""" 99 """Copyright (c) 2004 - 2021 Detlev Offenbach"""
100 """ <detlev@die-offenbachs.de>\n""" 100 """ <detlev@die-offenbachs.de>\n"""
121 "help", "ignore", "language=", "output=", "private", "recursive", 121 "help", "ignore", "language=", "output=", "private", "recursive",
122 "version", ]) 122 "version", ])
123 except getopt.error: 123 except getopt.error:
124 usage() 124 usage()
125 125
126 excludeDirs = [".svn", ".hg", ".git", ".ropeproject", ".eric6project", 126 excludeDirs = [".svn", ".hg", ".git", ".ropeproject", ".eric7project",
127 "dist", "build", "doc", "docs"] 127 "dist", "build", "doc", "docs"]
128 excludePatterns = [] 128 excludePatterns = []
129 outputFileName = "" 129 outputFileName = ""
130 recursive = False 130 recursive = False
131 basePackage = "" 131 basePackage = ""

eric ide

mercurial