mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 05:04:46 +00:00
use python, not pythonw for calling linkchecker script
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2019 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
c5e5455951
commit
b84c36d9d0
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ except OSError:
|
|||
|
||||
lib_dir = get_python_lib(plat_specific=1)
|
||||
dest_dir = os.path.join(prg, "LinkChecker")
|
||||
pythonw = os.path.join(sys.prefix, "pythonw.exe")
|
||||
python_exe = os.path.join(sys.prefix, "python.exe")
|
||||
|
||||
import linkcheck
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ def do_install ():
|
|||
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)
|
||||
create_shortcut(python_exe, "Check URL", path, arguments)
|
||||
file_created(path)
|
||||
|
||||
#target = os.path.join(lib_dir,
|
||||
|
|
|
|||
Loading…
Reference in a new issue