3 ms·
The application is not distributed via pypi, nor is it installed as a package and thus have no setup.py file. > A requirements.txt file is for "freezing" and f
by scandinavian 3y ago
The application is not distributed via pypi, nor is it installed as a package and thus have no setup.py file.
> A requirements.txt file is for "freezing" and fully reproducing an environment (ie. in a virtualenv or docker container).
No, it's just for specifying which versions of packages should be installed by pip. There's no such concept of a lock file with pip. Poetry and the likes have lock files though.
- duped 3y ago> There's no such concept of a lock file with pip. There's the --require-hashes flag and the ability to specify the hashes in your requirements.txt