4 ms·
I never said humans should read it, just that it's human readable. And of course requirements.txt is technically human readable, but the problem is that it brea
by cx1000 10y ago
I never said humans should read it, just that it's human readable. And of course requirements.txt is technically human readable, but the problem is that it breaks scripts if you do anything other than pip freeze to it. This is obvious in the npm world (you better put JSON in a .json file!).
My point is that the .txt extension doesn't give any hints to its use or that it's breakable, and that the name "requirements" doesn't describe the intended domain of the file (Python only). Even naming it "python_requirements.txt" would be an improvement.