3 ms·
Counterpoints: Start with pip, the official package manager. You don't have to start with virtual envs: I didn't. I haven't ran into any function which I "sho
by pnt12 5y ago
Counterpoints:
Start with pip, the official package manager. You don't have to start with virtual envs: I didn't.
I haven't ran into any function which I "should not use".
You don't need an entry point, you can just write code in a file. Besides that, I don't see how much it differs from other languages with implicit entry points, where you need to match a certain name in your function.
Imports: yes, those are annoying and confusing. I still struggle with those.
Aditionally: package managers and virtual envs are a pain in the ass. Every year we're getting a new one which is supposed to solve the problems from the previous one, but doesn't, and the cycle goes on. The language should really solve this at the core instead of requiring community fixing, as it is a core part of any serious development.
- kortex 5y agoHonestly I have had very few issues with poetry, and the ones I've had, it's because I'm trying to use plugins, which are alpha right now. Dependency resolution just works. Editable installs just work. Building just works. Before that, I only had problems with virtual envs once, and it was due to bad hygiene with system python libs and deps. Moral of the story: don't. Unless it's necessary to bootstrap virtualenv or compiled libs, don't system install python. Good ol' get-pip.py and virtualenv.