Closed egberts closed 1 week ago
Hi Egbert. I have very limited time and thus must respond to this (and other issues) in the most brief and efficient manner possible. Apologies in advance for anything that may sound brusque! 😊
Short version: I prefer to define dependencies in pyproject.toml
and do not see the need for any requirements.txt
files.
Longer version, in no particular order, in bullet-point format for expedience…
requirements.txt
files? The linked issue above relates to generating requirements.txt
files for Pelican-generated sites — not plugins, which seems to be the genesis for this issue.requirements.txt
file. Given that I prefer to define dependencies in pyproject.toml
, I do not understand why requirements.txt
files would be warranted. As noted in the linked issue above, folks who want or need requirements can generate such files themselves.requirements.txt
files for situations in which tools like PDM are not used.Thank you for taking the time to given the detailed inputs.
I sufficiently have been shown the wisdom of Pelican.
Closing this issue.
For the Pelican plugins, which way are we creating the proverbial "requirements.txt" file.
I ask this because some package have a requirements subdirectory (like Pelican's
tox
) and most others do file-based requirements.txt (likepdm
).As a plugin repository and for all plugin, consistency is the key, no?
I have no skin in this game, other than "build consistency".
So, which tools should plugins be using?
pip3 freeze > requirements.txt
pdm export -f requirements.txt
conda list -e > requirements.txt
pipreqs --print > requirements.txt
References