3 ms·
This seems to be an aggregation of some posts on python-list. Basically, extra-random opinions. I'll offer mine: I won't say that Python packaging is generally
by j0057 2y ago
This seems to be an aggregation of some posts on python-list. Basically, extra-random opinions.
I'll offer mine: I won't say that Python packaging is generally excellent, but it's gotten much better over the years. The pyproject.toml is a godsend, there's the venv module built-in to Python, pip will by default no longer install package outside of a venv. Dependency groups are being added, meaning that the requirements.txt files can also be specified in the project.toml. Documentation is pretty good, especially if you avoid blog posts from 5+ years ago.
- jszymborski 2y agopip + venv or just using Poetry usually is 100% headache-free for me. Conda, however, is usually a great way to ensure I have an awful time.