mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-13 10:51:03 +00:00
Added missing documentation.
This commit is contained in:
parent
6aa0249ea7
commit
b83d3b53fc
2 changed files with 4 additions and 0 deletions
|
|
@ -185,6 +185,7 @@ def has_changed (filename):
|
|||
mimedb = None
|
||||
|
||||
def init_mimedb():
|
||||
"""Initialize the local MIME database."""
|
||||
global mimedb
|
||||
try:
|
||||
mimedb = mimetypes.MimeTypes(strict=False)
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -324,6 +324,7 @@ class MyInstallLib (install_lib, object):
|
|||
return self.get_conf_output()
|
||||
|
||||
def get_conf_output (self):
|
||||
"""Get name of configuration file."""
|
||||
return self.distribution.get_conf_filename(self.install_lib)
|
||||
|
||||
def get_outputs (self):
|
||||
|
|
@ -627,7 +628,9 @@ elif 'py2exe' in sys.argv[1:]:
|
|||
add_tidy_files(data_files)
|
||||
elif executables:
|
||||
class MyInstallExe (install_exe, object):
|
||||
"""Install cx_Freeze executables."""
|
||||
def run (self):
|
||||
"""Add generated configuration to output files."""
|
||||
super(MyInstallExe, self).run()
|
||||
cmd_obj = self.distribution.get_command_obj("install_lib")
|
||||
cmd_obj.ensure_finalized()
|
||||
|
|
|
|||
Loading…
Reference in a new issue