Support pyproject.toml - #263
Conversation
|
Thanks for your ideas. Replacing the old fashioned |
|
Thank you for the suggestion. I did not know about pixi. I did not notice the acquisition. But I have to say for the time being I am happy with uv. I estimate that this acquisition will make uv the standard package manager for python in the long run. I also see that pixie is using uv under the hood already. I will definitely add pixie to my repertoire. If you like, I can work towards a I think the CLI can also be improved a bit, so I would use this PR as a starting point to get to know the package better, before diving into the CLI or even a TUI (as if that does not require time...) |
|
Thanks for your contributions. Regarding uv, the difference on pixi is conda-forge first and that pixi can resolve packages installed via conda and pypi. Not a trivial task. uv works as a replacement for a pip/nox combination. As a lot of Python infrastructure tools are rewritten in rust, uv is fast (may be also something has changed on the resolve algorithm). This is convenient and often a reason for hype and traktion. We will see. pixi adds conda-forge-first on top. That is a real advantage, even if not needed by a broad audience. Regarding the pull-request: the road map is to roll out version 2 first (which has a lot of internal refactoring) before adding even more changes. There still are some fixes needed, test adaptions waiting and also a rewrite of the cli to provide some basic commands by a single tool. From that on more changes/features can be added. Your idea about a TUI may be something to consider. |
This is more of a suggestion/scaffolding, than a pre-cooked pull request.
I just found this repository and thought "Cool, I think I might use that for other projects".
The repository did not work out of the box, and there is not really much of a development quickstart.
So I went ahead and kickstarted my development environment.
This is where this PR comes in.
It doesn't deliver the pyproject.toml, but an evaluation environment for the maintainers.
Many build-tools migrate to pyproject.toml, as it finally solves this hassle with packaging nightmare.
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
If you would like to try a build-tool that gained significant attention in the last time, I recommend
uv: https://astral.sh/uv (pip install uv)It allows automatic venv-management and build tool execution.
Obviously the
pyproject.tomlis far from merge (e.g. authors...)But because the project was actually running smoothly with just basic configuration, I felt the maintainers appreciate such ease of use.
What I did to get to this point was rather simple: