3 ms·
How heavy is Poetry tool? What's it's selling point when compared with setuptools? With setuptools, I just make setup.py and run pip install inside the root di
by wheelerof4te 5y ago
How heavy is Poetry tool? What's it's selling point when compared with setuptools?
With setuptools, I just make setup.py and run pip install inside the root directory. If I have wheel, pip builds a wheel for my package.
Sorry, but I don't want to learn yet another packaging meta-language when plain Python worked fine for decades. Python already tried with setup.cfg ini files and people rejected it. Why would pyproject.toml be any better?
Why not improve setuptools instead? That is what sorting out packaging means. Stop copying other languages and focus on Python. Core devs took typing syntax, pattern matching and packaging from Rust and bolted it all on Python like it fits.
Well, it does not fit. Stick to your own.
- dharmab 5y agoPoetry still uses setuptools! It makes it a lot easier for mortals. This is the blog post that convinced me to switch away from my old build system: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html https://blog.ganssle.io/articles/2021/10/setup-py-deprecated...
- wheelerof4te 5y agoThe blog post recommends build, not Poetry. But I guess the Python devs finally started taking this seriously. Since build is semi-official Python project, I will use it instead of Poetry. We can no longer rely on setup.py, it seems. Thanks.
- wheelerof4te 5y agoI just tried Poetry on Windows. Installation is a mess, and official recommendation of "copying a powershell line" was already a red flag. Now I can't remove it. Poetry is a convoluted, insecure mess. Please avoid it and use official PyPi recommendations.
- TingPing 5y agosetuptools design is a mess. pip will likely support it forever though so you are fine.
- hiptobecubic 5y agoPython has a long history of adopting good ideas from other languages. None of the things you mentioned were invented by Rust.