Skip to content
Snippets Groups Projects
Forked from asapo / asapo
Source project has a limited visibility.
  • Marc-Olivier Andrez's avatar
    a408e1ad
    build: replace `distutils` with `setuptools` · a408e1ad
    Marc-Olivier Andrez authored
    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)
    ```
    a408e1ad
    History
    build: replace `distutils` with `setuptools`
    Marc-Olivier Andrez authored
    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)
    ```