amueller / word_cloud

A little word cloud generator in Python
https://amueller.github.io/word_cloud
MIT License
10.1k stars 2.31k forks source link

Migrate to pyproject.toml #745

Closed thomasjpfan closed 10 months ago

thomasjpfan commented 10 months ago

This PR migrates the build system to use pyproject.toml.

This PR also replaces versioneer.py with setuptools_scm. It works the same way, where the version is generated based on the git tag. During wheel or sdist building, setuptools_scm writes the version to a _version.py file.

thomasjpfan commented 10 months ago

I tested wheel building with this configuration on my fork and it all works: https://github.com/thomasjpfan/word_cloud/actions/runs/7109479262

amueller commented 10 months ago

thank you! lgtm