4
you are viewing a single comment's thread
view the rest of the comments
[-] eager_eagle@lemmy.world 5 points 2 days ago* (last edited 1 day ago)

It's the conservative choice, which is maybe not ideal for new projects as it predates many PEPs. Hatch, uv, poetry, pdm, are probably all better modern choices.

[-] eager_eagle@lemmy.world 3 points 1 day ago* (last edited 1 day ago)

Caution

If you use setuptools, please be aware that some features that predate standardisation efforts are now deprecated and only temporarily kept for compatibility.

In particular, do not use direct python setup.py invocations. On the other hand, configuring setuptools with a setup.py file is still fully supported, although it is recommended to use the modern [project] table in pyproject.toml (or setup.cfg) whenever possible and keep setup.py only if programmatic configuration is needed. See Is setup.py deprecated?.

Other examples of deprecated features you should not use include the setup_requires argument to setup() (use the [build-system] table in pyproject.toml instead), and the easy_install command (cf. pip vs easy_install).

https://packaging.python.org/en/latest/guides/tool-recommendations/

it's just easier to have a modern hassle-free setup with the other tools

this post was submitted on 21 Sep 2026
4 points (66.7% liked)

Python

8044 readers
11 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 3 years ago
MODERATORS