• Ben Mares's avatar
    Update pyproject license schema according to deprecation warnings · b9fafc4d
    Ben Mares 提交于
    * Building wheel...
    /tmp/build-env-vi5sasbz/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
    !!
            ********************************************************************************
            Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
            By 2026-Feb-18, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.
            See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
            ********************************************************************************
    !!
      corresp(dist, value, root_dir)
    /tmp/build-env-vi5sasbz/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
    !!
            ********************************************************************************
            Please consider removing the following classifiers in favor of a SPDX license expression:
            License :: OSI Approved :: BSD License
            See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
            ********************************************************************************
    b9fafc4d
pyproject.toml 5.7 KB