Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Greenberg <willg@eff.org>2022-03-17 22:35:32 +0300
committerWill Greenberg <willg@eff.org>2022-03-17 22:48:24 +0300
commit95e193b7b20b1ba56165fbb20a7ea3a497f9b409 (patch)
tree5c6e71572d01e66c2d228ab22cfc0c4c44a61804
parentf54d9a325716d91ecc334496d231808fea6e245f (diff)
Point pip to filesystem packages rather than local HTTP serverno-local-pypi
-rwxr-xr-xtools/_release.sh18
1 files changed, 7 insertions, 11 deletions
diff --git a/tools/_release.sh b/tools/_release.sh
index ed726fa64..d78b2ee96 100755
--- a/tools/_release.sh
+++ b/tools/_release.sh
@@ -157,29 +157,25 @@ done
mkdir "dist.$version"
for pkg_dir in $SUBPKGS
do
- mv $pkg_dir/dist "dist.$version/$pkg_dir/"
+ mv $pkg_dir/dist/* "dist.$version"
done
echo "Testing packages"
cd "dist.$version"
-# start local PyPI
-python -m http.server $PORT &
# cd .. is NOT done on purpose: we make sure that all subpackages are
-# installed from local PyPI rather than current directory (repo root)
+# installed from local archives rather than current directory (repo root)
VIRTUALENV_NO_DOWNLOAD=1 virtualenv ../venv
. ../venv/bin/activate
pip install -U setuptools
pip install -U pip
-# Now, use our local PyPI. Disable cache so we get the correct KGS even if we
-# (or our dependencies) have conditional dependencies implemented with if
-# statements in setup.py and we have cached wheels lying around that would
-# cause those ifs to not be evaluated.
+# Now, use our local archives. Disable cache so we get the correct packages even if
+# we (or our dependencies) have conditional dependencies implemented with if
+# statements in setup.py and we have cached wheels lying around that would cause
+# those ifs to not be evaluated.
python ../tools/pip_install.py \
--no-cache-dir \
- --extra-index-url http://localhost:$PORT \
+ --find-links . \
$SUBPKGS
-# stop local PyPI
-kill $!
cd ~-
# get a snapshot of the CLI help for the docs