Mercurial > dotfiles
view install.cmd @ 415:e57b012539d5
Check if Python is in the `PATH` on Windows.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 19 Jan 2018 09:18:30 -0800 |
parents | c6da0c9f40ae |
children | a9011b1b073f |
line wrap: on
line source
@echo off setlocal set CWD=%~dp0 set PYEXE=python where %PYEXE% 2>nul if errorlevel 1 ( echo Python isn't in your PATH. Run the install script yourself. exit /b 1 ) echo python %CWD%install.py