gh-95299: Do not pre-install setuptools in virtual environments created with venv. This means that distutils, setuptools, pkg_resources, and easy_install will no longer available by default; to access these run pip install setuptools in the activated virtual environment.
Motivation
There are some errors blocking the CI: https://github.com/apache/pulsar-client-python/actions/runs/7321925272/job/19942911045?pr=181 https://github.com/apache/pulsar-client-python/actions/runs/7320564743/job/19942264377
The python 3.12 has removed the setuptools for the default dependency by this PR: https://github.com/python/cpython/issues/95299
Verification
Verification CI: https://github.com/apache/pulsar-client-python/actions/runs/7325997832
The result of CI shows that this fix could build the release wheel file successfully.