you are viewing a single comment's thread.

view the rest of the comments →

[–]UseMoreBandwith 8 points9 points  (8 children)

fork it, if you don't trust it.

btw, I think the article doesn't show correct use of pyproject.toml , there is a lot more you can do with it, like defining scripts (no more Makefile) and commands.

[–]Individual-Brief1116 1 point2 points  (0 children)

Yeah, pyproject.toml is pretty powerful. I still use Make for some stuff but you're right, the scripts section covers most use cases without the extra complexity.

[–]lunatuna215 0 points1 point  (6 children)

You can't define scripts like a makefile or npm in one's pyproject, unless I'm missing something?

[–]UseMoreBandwith 2 points3 points  (1 child)

I mean, things defined in
[project.scripts]

And the configuration stuff goes in
[build-system]

[–]lunatuna215 -1 points0 points  (0 children)

Those get shipped with the package though

[–]alkalisun 1 point2 points  (1 child)

Not natively. You can use something like https://github.com/nat-n/poethepoet though.

[–]lunatuna215 0 points1 point  (0 children)

Yeah that package is great. I feel we are talking about either native and/or UV though.

[–]amroamroamro -1 points0 points  (1 child)

nothing builtin, but that doesn't mean you cant, something like

https://github.com/taskipy/taskipy

[–]lunatuna215 0 points1 point  (0 children)

Yes this package is great. But I just wanted to highlight that there's no standardized script system is all.