jendrikseipp / rednotebook

RedNotebook is a cross-platform journal
https://rednotebook.app
GNU General Public License v2.0
477 stars 109 forks source link

Debians lintian nagging about build-backend. #733

Open kathenas opened 8 months ago

kathenas commented 8 months ago

Version: rednotebook git master.

Under Debian, lintian will nag about the below.

I: rednotebook source: missing-prerequisite-for-pyproject-backend setuptools.build_meta (does not satisfy python3-setuptools:any, pybuild-plugin-pyproject:any) [pyproject.toml:3]

Changing:

build-backend = "setuptools.build_meta"

to

build-backend = "setuptools.build_meta:__legacy__"

seems to correct the issue. Not being big on python builds, this report is more speculative.

Ref: https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#backend-configuration

jendrikseipp commented 8 months ago

Thanks for the report! The solution looks reasonable to me. I'm AFK so can't change this now. But happy to accept a PR:)