File tree 1 file changed +20
-0
lines changed 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -557,3 +557,23 @@ Three things are required to fully guarantee a repeatable installation using req
557
557
558
558
559
559
.. _PyPI : http://pypi.python.org/pypi/
560
+
561
+
562
+ .. _`Installation Bundle` :
563
+
564
+ Create an Installation Bundle with Compiled Dependencies
565
+ ********************************************************
566
+
567
+ You can create a simple bundle that contains all of the dependencies you wish
568
+ to install using::
569
+
570
+ $ tempdir=$(mktemp -d /tmp/wheelhouse-XXXXX)
571
+ $ pip wheel -r requirements.txt --wheel-dir=$tempdir
572
+ $ cwd=`pwd`
573
+ $ (cd "$tempdir"; tar -cjvf "$cwd/bundled.tar.bz2" *)
574
+
575
+ Once you have a bundle, you can then uninstall it using::
576
+
577
+ $ tempdir=$(mktemp -d /tmp/wheelhouse-XXXXX)
578
+ $ (cd $tempdir; tar -xvf /path/to/bundled.tar.bz2)
579
+ $ pip install --force-reinstall --ignore-installed --upgrade --no-index --use-wheel --no-deps $tempdir/*
You can’t perform that action at this time.
0 commit comments