Re:How to make a Python package in 2021
by asdf123wtf on Thursday April 08, 2021 @10:33AM
(#26739204)
I generally reach for pip-tools, when I need to pin versions in a requirements for a deployable app, like an api.
It's by far the simplest option I've found.
If your project is a library, just use setup.py and express your deps abstractly (min, max or version range). Don't pin to specific versions at all, if you can help it.
It's by far the simplest option I've found.
If your project is a library, just use setup.py and express your deps abstractly (min, max or version range). Don't pin to specific versions at all, if you can help it.