Hacker News new | ask | show | jobs
by ihusasmiiu 1306 days ago
I don't genuinely understand what's wrong with setup.py and why people wouldn't just use setuptools, as it is even suggested by PyPA.

IMHO Python should improve what it already has instead of pushing the usage of third party tools for a core component such as packaging.

For all my Python projects I just use setuptools and the built-in venv module for isolation.

What I feel it's really missing is an official way to have multiple Python version installed.

3 comments

> What I feel it's really missing is an official way to have multiple Python version installed.

Install them into different directories. There's nothing about python that makes this at all hard or even tricky.

Isn't installing different versions an OS concern, not the Python's concern? I bet Debian and NixOS have very different takes on that, to say nothing of macOS and Windows.

I also suppose that pyenv and poetry exist and solve that to a reasonable extent.

One could say that providing Python modules is an OS concern as well.

Debian IMHO has the worst take on that (see the venv module).

Pyenv definitely solves it, but I talked about an officially supported solution.

pyenv will solve your multiple python on one machine problem :)