build: replace `distutils` with `setuptools`
This commit makes the build of Python packages use `setuptools` instead of the deprecated `distutils` in `setup.py` files. See [PEP 632](https://peps.python.org/pep-0632/) for more information on the deprecation of `distutils`. Note that using `setuptools` instead of `distutils` removes the following user warning messages when creating the `bdist` and `sdist` of the consumer and producer projects: ``` /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'setup_requires' warnings.warn(msg) /usr/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) ```
Showing
- consumer/api/python/dist_linux/setup.py.in 1 addition, 2 deletionsconsumer/api/python/dist_linux/setup.py.in
- consumer/api/python/setup.py.in 1 addition, 2 deletionsconsumer/api/python/setup.py.in
- producer/api/python/dist_linux/setup.py.in 1 addition, 2 deletionsproducer/api/python/dist_linux/setup.py.in
- producer/api/python/setup.py.in 1 addition, 3 deletionsproducer/api/python/setup.py.in
Please register or sign in to comment