Add optional dependency ``metrics`` in ``setup.py``.