Hacker News new | ask | show | jobs
by SushiHippie 1048 days ago
Yes, but you can write a pyproject toml file also as a python dictionary.

Instead of:

[project] requires-python = ">=3.11" dependencies = [ "requests<3", "rich", ]

You could write:

{ "project": { "requires-python":">=3.11", "dependencies" : [ "requests<3", "rich" ] }

1 comments

No way !

Gotta think carefully about this... Might upset some coworkers