python-tkextrafont icon indicating copy to clipboard operation
python-tkextrafont copied to clipboard

Migrate to pyproject.toml and scikit-build-core

Open mochaaP opened this issue 2 years ago • 5 comments

build: switch to scikit-build-core, use gitmodules & peru, clarify license build: use prebuilt Tcl/Tk from CPython, fontconfig from vcpkg on win32 msvc ci: add cibuildwheel and dependabot

Tested on py3.12 Feodra Linux

See changes in https://github.com/TkinterEP/python-tksvg/pull/6

TODO:

  • [ ] test runs on macOS & Win32

mochaaP avatar Mar 01 '24 15:03 mochaaP

Just skimmed through the changes. They mostly look good to me.

fontconfig from vcpkg on win32 msvc

Why is this needed? Extrafont doesn't use fontconfig on Windows, it uses GDI

rdbende avatar Mar 02 '24 08:03 rdbende

Just skimmed through the changes. They mostly look good to me.

fontconfig from vcpkg on win32 msvc

Why is this needed? Extrafont doesn't use fontconfig on Windows, it uses GDI

Ah I missed that. Will fix it later

mochaaP avatar Mar 02 '24 08:03 mochaaP

The README mentions it, but I have built extrafont with Visual Studio multiple times, and I can confirm, that fontconfig isn't necessary.

rdbende avatar Mar 02 '24 09:03 rdbende

cc @rdbende this should be the final changes

mochaaP avatar Mar 03 '24 12:03 mochaaP

From others' tests this seems to work fine on Windows as well. Let's see how the CI goes.

rdbende avatar Oct 11 '24 21:10 rdbende