mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-17 04:41:01 +00:00
script_dir conf
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2007 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
6166946238
commit
edc8b4f48e
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ lib_dir = get_python_lib(plat_specific=1)
|
|||
dest_dir = os.path.join(prg, "LinkChecker")
|
||||
pythonw = os.path.join(sys.prefix, "pythonw.exe")
|
||||
|
||||
import linkcheck
|
||||
|
||||
def do_install ():
|
||||
"""create_shortcut(target, description, filename[, arguments[, \
|
||||
workdir[, iconpath[, iconindex]]]])
|
||||
|
|
@ -48,6 +50,7 @@ def do_install ():
|
|||
except OSError:
|
||||
pass
|
||||
path = os.path.join(dest_dir, "Check URL.lnk")
|
||||
script_dir = linkcheck.configdata.install_scripts
|
||||
arguments = os.path.join(script_dir, "linkchecker")
|
||||
create_shortcut(pythonw, "Check URL", path, arguments)
|
||||
file_created(path)
|
||||
|
|
|
|||
Loading…
Reference in a new issue