4 ms·
I think this is the most common pattern where you wish to execute a script based on a requirements file: https://ofek.dev/pyapp/latest/examples/#dependency-file
by ofek 3y ago
I think this is the most common pattern where you wish to execute a script based on a requirements file: https://ofek.dev/pyapp/latest/examples/#dependency-file-with-script https://ofek.dev/pyapp/latest/examples/#dependency-file-with...
- isoprophlex 3y agoHoly shit! So looking at the flowchart elsewhere in the docs, this means the executable produced by pyapp will ensure the requirements file is processed before executing the actual module code? This is magic.
- ofek 3y agoYes it will that is exactly correct! That particular example actually was after I was reading how to set up Stable Diffusion and other AI stack stuff.
- isoprophlex 3y agoI love this. This is exactly the idea the python ecosystem needs to unfuck it's packaging/distribution hell. I will start using this at work to try and solve the "how the hell do I distribute the spaghetti these devs produce in a sensible way" problem (we bundle dockerfiles atm and it's less than ideal) Will let you know if I have any avenues for potential improvement, etc.