File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11
11
# set -x
12
12
13
13
# ###############################
14
- # A configuration script to set things up:
14
+ # A configuration script to set things up:
15
15
# create a virtualenv and install or update thirdparty packages.
16
16
# Source this script for initial configuration
17
17
# Use configure --help for details
@@ -50,9 +50,11 @@ VIRTUALENV_PYZ_URL=https://bootstrap.pypa.io/virtualenv.pyz
50
50
CFG_ROOT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
51
51
CFG_BIN_DIR=$CFG_ROOT_DIR /$VIRTUALENV_DIR /bin
52
52
53
+ # Find packages from the local thirdparty directory or from pypi
54
+ PIP_EXTRA_ARGS=" --find-links $CFG_ROOT_DIR /thirdparty"
53
55
54
56
# ###############################
55
- # Set the quiet flag to empty if not defined
57
+ # Set the quiet flag to empty if not defined
56
58
if [[ " $CFG_QUIET " == " " ]]; then
57
59
CFG_QUIET=" "
58
60
fi
63
65
# Use environment variables or a file if available.
64
66
# Otherwise the latest Python by default.
65
67
if [[ " $PYTHON_EXECUTABLE " == " " ]]; then
66
- # check for a file named PYTHON_EXECUTABLE
68
+ # check for a file named PYTHON_EXECUTABLE
67
69
if [ -f " $CFG_ROOT_DIR /PYTHON_EXECUTABLE" ]; then
68
70
PYTHON_EXECUTABLE=$( cat " $CFG_ROOT_DIR /PYTHON_EXECUTABLE" )
69
71
else
Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ set CFG_ROOT_DIR=%~dp0
47
47
set " CFG_BIN_DIR = %CFG_ROOT_DIR% \%VIRTUALENV_DIR% \Scripts"
48
48
49
49
50
+ @ rem ################################
51
+ @ rem # Thirdparty package locations and index handling
52
+ set " PIP_EXTRA_ARGS = --find-links %CFG_ROOT_DIR% \thirdparty"
53
+ @ rem ################################
54
+
55
+
50
56
@ rem ################################
51
57
@ rem # Set the quiet flag to empty if not defined
52
58
if not defined CFG_QUIET (
Original file line number Diff line number Diff line change
1
+ Put your Python dependency wheels to be vendored in this directory.
2
+
You can’t perform that action at this time.
0 commit comments