3 ms·
Kind of hacktastic but I guess you could make an external tool that backs up pyproject.toml, sets it to have whatever is installed in the .venv as pinned depend
by eternityforest 2y ago
Kind of hacktastic but I guess you could make an external tool that backs up pyproject.toml, sets it to have whatever is installed in the .venv as pinned dependencies, builds the wheel, then restored the old file.
Seems like the kind of thing that might have some kind of edge case somewhere I'm not thinking of at the moment though.
- zahlman 2y ago>Seems like the kind of thing that might have some kind of edge case somewhere I'm not thinking of at the moment though. It wouldn't support hashes, or anything else that you can't do with ordinary dependency specifiers in the project.dependencies list (spec: https://peps.python.org/pep-0508/ https://peps.python.org/pep-0508/).