This reverts #23446 and instead patches setup.py to use setuptools instead of distutils which automatically generates the necessary jupyter-console script.