Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Nov 29, 2017
1 parent 2e47a9e commit f6e286c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_script.bat
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
@echo off
if "%1"=="" goto default_value_python:
set pythonexe="%1"
%pythonexe% setup.py write_version
goto custom_python:

:default_value_python:
set pythonexe="c:\Python36_x64\python"
set pythonexe="c:\Python363_x64\python"
if not exist %pythonexe% set pythonexe="c:\Python36_x64\python"
:custom_python:
@echo [python] %pythonexe%
%pythonexe% -u setup.py build_script
if %errorlevel% neq 0 exit /b %errorlevel%

0 comments on commit f6e286c

Please sign in to comment.