Skip to content

Commit 059c5e8

Browse files
committed
fix windows usage
1 parent ff959ea commit 059c5e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jupyter_releaser/lib.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def check_links(ignore_glob, ignore_links, cache_file, links_expire):
4949
"""Check URLs for HTML-containing files."""
5050
cache_dir = osp.expanduser(cache_file).replace(os.sep, "/")
5151
os.makedirs(cache_dir, exist_ok=True)
52-
cmd = f"{sys.executable} -m pytest --noconftest --check-links --check-links-cache "
52+
python = sys.executable.replace(os.sep, "/")
53+
cmd = f"{python} -m pytest --noconftest --check-links --check-links-cache "
5354
cmd += f"--check-links-cache-expire-after {links_expire} "
5455
cmd += "--disable-warnings --quiet "
5556
cmd += f"--check-links-cache-name {cache_dir}/check-release-links "

0 commit comments

Comments
 (0)