blob: 39529cb68d7555edc796c165c576b3d08c877f8b [file] [log] [blame]
The httplib2 package has been installed using Glyco itself, using revision
7d1b88a3cf34774242bf4c0578c09c0092bb05d8:
git clone https://chromium.googlesource.com/external/github.com/jcgregorio/httplib2
cd httplib2
git checkout 7d1b88a3cf34774242bf4c0578c09c0092bb05d8
cd ..
glyco pack httplib2 -o .
glyco install httplib2-0.9-0_52d3c1a26ffad2317a89215d0585870d1a08943a-py2-none-any.whl -i third_party
Other packages in this directory have been installed there using pip, based on a wheel
file: pip install -t third_party --no-index --no-deps <package>.whl
Installation of virtualenv.
The following assumes that pip and wheel are installed.
git clone https://github.com/pypa/virtualenv/
cd virtualenv
git checkout 13.0.3
# Generate the wheel file:
pip wheel --no-index --no-deps --wheel-dir ./wheelhouse virtualenv/
# Install the wheel file
pip install -t ./third_party --no-index --no-deps wheelhouse/virtualenv-13.0.3-py2.py3-none-any.whl
To be able to generate files deterministically, we need a yet unreleased (as
of 2015-08-17) version of python wheel. We need to overwrite the wheel version
provided with virtualenv:
hg clone https://bitbucket.org/pypa/wheel
cd wheel
hg update -r af5f7b357f837066cf2c3ce2beadb3dab2c290f6
cd ..
pip wheel --no-index --no-deps --wheel-dir ./wheelhouse/ wheel/
rm glyco/third_party/virtualenv_support/wheel-0.24.0-py2.py3-none-any.whl
cp wheelhouse/wheel-0.25.0-py2.py3-none-any.whl glyco/third_party/virtualenv_support