Skip to content

Commit e1b92a9

Browse files
committed
add verbose option on appveyor install
In the Appveyor Windows builds, include the verbose option when installing pyodbc so that all compilation warnings and errors can be seen.
1 parent f134955 commit e1b92a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

appveyor/build_script.cmd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ IF ERRORLEVEL 1 (
3333

3434
ECHO.
3535
ECHO *** Installing pyodbc...
36-
"%PYTHON_HOME%\python" -m pip install .
36+
SET PYTHON_ARGS=.
37+
IF "%APVYR_VERBOSE%" == "true" (
38+
SET PYTHON_ARGS=--verbose %PYTHON_ARGS%
39+
)
40+
"%PYTHON_HOME%\python" -m pip install %PYTHON_ARGS%
3741
IF ERRORLEVEL 1 (
3842
ECHO *** ERROR: pyodbc install failed
3943
EXIT 1

0 commit comments

Comments
 (0)