Oh, for clarity: this function is used by an entry point in `setup.py`.