1#!/usr/bin/env bash 2# The file python-inv.txt contains the database of Sphinx hyperlink targets 3# used by the intersphinx extension. See 4# http://sphinx.pocoo.org/latest/ext/intersphinx.html 5# To be able to compile Sage without accessing the net, we use a local copy of 6# this database. Here is how to update it: 7 8rm -f python-inv.txt 9wget http://docs.python.org/release/`sage -python --version 2>&1| cut -d " " --fields=2`/objects.inv -O - > python.inv 10 11