You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pyproject.toml can replace the setup.py, environment.yml and setup.py. It is all we need to make the package locally installable via pip. We can also use it to specify additional linting and code formatting tools and their options.
I happy to add this soon, ideally before the hackathon.
good idea! In my experience, pyproject.toml works quite well with more recent python versions. The documentation is not as comprehensible as I'd love it to be, but it is enough for most applications.
Thanks for the pointer to rye, @alvorithm looks like a great project!
I think it's kind off orthogonal to / more general than the packaging with pyproject.toml itself. I understand it as a tool for the user to set up their environment locally. I will definitively check it out myself and maybe we can recommend it as an alternative to using conda one day.
Thanks for sharing @psteinb
I think pyproject.toml is independent from the build backend itself -- it lets you specify the backend, which could be setuptools or something else, e.g., poetry-core, hatchling etc.
Activity
michaeldeistler commentedon Feb 6, 2024
yup i'd be for that
alvorithm commentedon Feb 6, 2024
Good idea. Also, check out rye.
psteinb commentedon Feb 7, 2024
good idea! In my experience,
pyproject.tomlworks quite well with more recent python versions. The documentation is not as comprehensible as I'd love it to be, but it is enough for most applications.janfb commentedon Feb 13, 2024
Thanks for the pointer to rye, @alvorithm looks like a great project!
I think it's kind off orthogonal to / more general than the packaging with
pyproject.tomlitself. I understand it as a tool for the user to set up their environment locally. I will definitively check it out myself and maybe we can recommend it as an alternative to usingcondaone day.janfb commentedon Feb 13, 2024
Thanks for sharing @psteinb
I think
pyproject.tomlis independent from the build backend itself -- it lets you specify the backend, which could besetuptoolsor something else, e.g.,poetry-core,hatchlingetc.janfb commentedon Feb 16, 2024
closed with #941