pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
773 stars 120 forks source link

Fix sdist to include meson stuff and minor updates #2803

Closed ankith26 closed 2 months ago

ankith26 commented 2 months ago

This PR ensures three files are bundled in our sdist wheels: pyproject.toml, meson.build and meson_options.txt.

With this change, anyone attempting an sdist install will be making use of the new buildconfig by default (though the old one can still be used with some flags or workarounds)

I also added excludes of files unneeded in sdist builds: pyc files, mypy cache files and mac ci files.

MyreMylar commented 2 months ago

hmm though it looks like this is failing to build on Ubuntu 22.04.... probably in the meson build somewhere but we don't seem to get any logs for that just the ending.

ankith26 commented 2 months ago

Fixed the issue by adding a pip upgrade