File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,10 +56,8 @@ CFG_BIN_DIR=$CFG_ROOT_DIR/$VIRTUALENV_DIR/bin
5656# Thirdparty package locations and index handling
5757# Find packages from the local thirdparty directory or from thirdparty.aboutcode.org
5858# offline mode for scancode installation with no index at all
59- if [ -f " $CFG_ROOT_DIR /thirdparty" ]; then
59+ if [ -d " $CFG_ROOT_DIR /thirdparty" ]; then
6060 PIP_EXTRA_ARGS=" --no-index --find-links $CFG_ROOT_DIR /thirdparty"
61- else
62- PIP_EXTRA_ARGS=" --find-links https://thirdparty.aboutcode.org/pypi/simple/links.html"
6361fi
6462
6563# ###############################
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ set "CFG_BIN_DIR=%CFG_ROOT_DIR%\%VIRTUALENV_DIR%\Scripts"
5757if exist " %CFG_ROOT_DIR% \thirdparty" (
5858 set PIP_EXTRA_ARGS = --no-index --find-links " %CFG_ROOT_DIR% \thirdparty"
5959)
60- set " PIP_EXTRA_ARGS = %PIP_EXTRA_ARGS% --find-links https://thirdparty.aboutcode.org/pypi/simple/links.html"
6160
6261
6362@ rem ################################
@@ -70,7 +69,6 @@ if not defined CFG_QUIET (
7069@ rem ################################
7170@ rem # Main command line entry point
7271set " CFG_REQUIREMENTS = %REQUIREMENTS% "
73- set " NO_INDEX = --no-index"
7472
7573:again
7674if not " %1 " == " " (
You can’t perform that action at this time.
0 commit comments