top | item 33679358

(no title)

ihusasmiiu | 3 years 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.

discuss

order

Doxin|3 years ago

> 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.

nine_k|3 years ago

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.

ihusasmiiu|3 years ago

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.

angrais|3 years ago

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