5 Jul
2016
5 Jul
'16
5:34 p.m.
On Jul 05, 2016, at 11:19 AM, Victor Stinner wrote:
pip supports a requirements.txt file which is a nice may to declare dependency. You can:
* specify the minimum library version * make some library specific to some operation systems * skip dependencies on some Python versions -- very helpful for libraries parts of Python 3 stdlib (like statistics)
Interestingly enough, I'm working on a project where we *have* to use packages from the Ubuntu archive, even if there are different (or differently fixed) versions on PyPI. I don't think there's a way to map a requirements.txt into distro package versions and do the install from the distro package manager, but that might be useful. Cheers, -Barry