File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -169,14 +169,22 @@ VIRTUALENV_NO_DOWNLOAD=1 virtualenv ../venv
169
169
. ../venv/bin/activate
170
170
pip install -U setuptools
171
171
pip install -U pip
172
+
173
+ # This creates a string like "acme==a.b.c certbot==a.b.c ..." which can be used
174
+ # with pip to ensure the correct versions of our packages installed.
175
+ subpkgs_with_version=" "
176
+ for pkg in $SUBPKGS ; do
177
+ subpkgs_with_version=" $subpkgs_with_version $pkg ==$version "
178
+ done
179
+
172
180
# Now, use our local archives. Disable cache so we get the correct packages even if
173
181
# we (or our dependencies) have conditional dependencies implemented with if
174
182
# statements in setup.py and we have cached wheels lying around that would cause
175
183
# those ifs to not be evaluated.
176
184
python ../tools/pip_install.py \
177
185
--no-cache-dir \
178
186
--find-links . \
179
- $SUBPKGS
187
+ $subpkgs_with_version
180
188
cd ~ -
181
189
182
190
# get a snapshot of the CLI help for the docs
You can’t perform that action at this time.
0 commit comments