damonlynch / rapid-photo-downloader

Rapid Photo Downloader is the leading photo and video downloader for the Linux desktop.
https://damonlynch.net/rapid
GNU General Public License v3.0
114 stars 30 forks source link

Import setuptools before distutils #118

Closed toddy15 closed 9 months ago

toddy15 commented 10 months ago

Hi Damon,

as you might recall, I'm one of the Debian maintainers of your program rapid-photo-downloader. I'd like to forward a patch from Stefano Rivera via PR. This patch is to prepare for Python 3.12, which will drop distutils.

Regards, Tobias

damonlynch commented 9 months ago

Hi Tobias,

Thank you very much for the patch. It would be great this program could drop the use of setup.py in favour of modern Python configuration, e.g. pyproject.toml. Is it possible to do this and rely on some other mechanism to handle localisation and icon configuration, which is currently handled by setup.py? Is there a best practices Python GUI program in Debian I can look at that already uses up-to-date practices?

Best, Damon