Source code

Revision control

Other Tools

#!/usr/bin/env sh
set -ex
cd "${0%/*}"
virtualenv -p python3 .virtualenv
.virtualenv/bin/pip install genshi
git clone https://github.com/html5lib/html5lib-python.git .virtualenv/html5lib && cd .virtualenv/html5lib || cd .virtualenv/html5lib && git pull
# Pinned commit, to avoid html5lib from changing underneath us.
git reset --hard ad3bde76737e07b0369ac64c1dd2231e857e2baa
git submodule update --init --recursive
cd ../..
.virtualenv/bin/pip install -e .virtualenv/html5lib
.virtualenv/bin/python update_html5lib_tests.py