71 print(" -x directory or --exclude=directory") |
71 print(" -x directory or --exclude=directory") |
72 print(" Specify a directory basename to be excluded.") |
72 print(" Specify a directory basename to be excluded.") |
73 print(" This option may be repeated multiple times.") |
73 print(" This option may be repeated multiple times.") |
74 for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()): |
74 for lang in sorted(DocumentationTools.supportedExtensionsDictForApis.keys()): |
75 print(" * {0}".format(lang)) |
75 print(" * {0}".format(lang)) |
76 print(" The default is 'Python'.") |
76 print(" The default is 'Python3'.") |
77 print(" This option may be repeated multiple times.") |
77 print(" This option may be repeated multiple times.") |
78 sys.exit(1) |
78 sys.exit(1) |
79 |
79 |
80 def version(): |
80 def version(): |
81 """ |
81 """ |
215 Utilities.joinext("__init__", ext)) |
215 Utilities.joinext("__init__", ext)) |
216 if initFile in files: |
216 if initFile in files: |
217 inpackage = True |
217 inpackage = True |
218 files.remove(initFile) |
218 files.remove(initFile) |
219 files.insert(0, initFile) |
219 files.insert(0, initFile) |
220 elif progLanguage != "Python": |
220 elif progLanguage != "Python3": |
221 # assume package |
221 # assume package |
222 inpackage = True |
222 inpackage = True |
223 else: |
223 else: |
224 if Utilities.isWindowsPlatform() and glob.has_magic(filename): |
224 if Utilities.isWindowsPlatform() and glob.has_magic(filename): |
225 files = glob.glob(filename) |
225 files = glob.glob(filename) |