Hi Ludo’,
Quoting Ludovic Courtès (2024-03-28 19:09:49) > Tanguy LE CARROUR <tan...@bioneland.org> skribis: > > > Quoting Ludovic Courtès (2024-03-26 17:04:52) > > [...] > > >> But then I mean, we could offer, say, ‘guix import upstream https://…’, > >> and that thing could parse ‘setup.py’ or similar to produce a package > >> definition from that. > > > > I’m not against a good-old-generic-solution®, but this one might be > > a bit… too generic. It contains no mention to Python, so the next logical > > step > > would be `guix import URL`. Not that I would not like it, though! 😁 > > Well, this has been on my mind for a long time. Such a tool could > provide at least a useful package skeleton even for software using CMake > or Autotools. > > > So I would say… let’s wait and see what the others think. In the > > meantime, I’ll have to dive deeper in the PEP and the actual importer > > code. > > Looks like consensus among you Pythonistas has yet to be reached > regarding whether ‘pyproject.toml’ data would be a useful addition. :-) I have to admit that the Zen of Python [1] "There should be one-- and preferably only one -- obvious way to do it." has been recently difficult to follow packaging-wise! [1]: https://peps.python.org/pep-0020 Even Poetry, the one I’ve been using for years, as made questionable decisions [2] and I have to admit that I had a look at the competitors. [2]: https://python-poetry.org/docs/faq/#why-does-poetry-not-adhere-to-semantic-versioning > PS: I hear more and more long-time Python developers dismayed by the sad > state of packaging and code evolution in Python. In Guile land, we > say: refugees welcome! Come discover a great language and a great > community (together with their own set of problems). Thanks for the kind invitation, but… I have an acute form of parens-itis. Seeing more that a pair of parenthesis on a single line make my eyes bleed! 😅 And… `#` is for comments, every other use is complete heresy and those who go against the creed should suffer! … isn’t that what the parentheses are for?! 😉 Any way, thanks again for caring about Python! Regards, -- Tanguy