It should not be needed to change anything in ``setup.py``. Using the ``site.cfg`` mechanism should be preferred. It's already explained in the Ubuntu section below.