Skip to content

Commit

Permalink
Update configure.bat
Browse files Browse the repository at this point in the history
Signed-off-by: Chin Yeung Li <[email protected]>
  • Loading branch information
chinyeungli committed Feb 23, 2022
1 parent 311b0a1 commit 35af643
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions configure.bat
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ set "CFG_BIN_DIR=%CFG_ROOT_DIR%\%VIRTUALENV_DIR%\Scripts"
if exist "%CFG_ROOT_DIR%\thirdparty" (
set PIP_EXTRA_ARGS=--find-links "%CFG_ROOT_DIR%\thirdparty"
)

set "PIP_EXTRA_ARGS=%PIP_EXTRA_ARGS%" --find-links https://thirdparty.aboutcode.org/pypi & %INDEX_ARG%
@rem ################################
set "PIP_EXTRA_ARGS=%PIP_EXTRA_ARGS% --find-links https://thirdparty.aboutcode.org/pypi" & %INDEX_ARG%


@rem ################################
Expand All @@ -67,15 +65,15 @@ if not defined CFG_QUIET (
@rem ################################
@rem # Main command line entry point
set CFG_DEV_MODE=0
set CFG_REQUIREMENTS=%REQUIREMENTS%
set "CFG_REQUIREMENTS=%REQUIREMENTS%"
set "NO_INDEX=--no-index"

:again
if not "%1" == "" (
if "%1" EQU "--help" (goto cli_help)
if "%1" EQU "--clean" (goto clean)
if "%1" EQU "--dev" (
set CFG_REQUIREMENTS=%DEV_REQUIREMENTS%
set "CFG_REQUIREMENTS=%DEV_REQUIREMENTS%"
set CFG_DEV_MODE=1
)
if "%1" EQU "--init" (
Expand Down Expand Up @@ -204,4 +202,4 @@ for %%F in (%CLEANABLE%) do (
rmdir /s /q "%CFG_ROOT_DIR%\%%F" >nul 2>&1
del /f /q "%CFG_ROOT_DIR%\%%F" >nul 2>&1
)
exit /b 0
exit /b 0

0 comments on commit 35af643

Please sign in to comment.