jazzband / pip-tools

A set of tools to keep your pinned Python dependencies fresh.
https://pip-tools.rtfd.io
BSD 3-Clause "New" or "Revised" License
7.77k stars 611 forks source link

Support scripts with inline script metadata as input files #2107

Open chrysle opened 5 months ago

chrysle commented 5 months ago

Closes #2027.

Contributor checklist
Maintainer checklist
chrysle commented 5 months ago

@webknjaz please review; there isn't any other active maintainer left, as it seems..

WhyNotHugo commented 4 months ago

What's the use-case for this?

chrysle commented 4 months ago

Hmm, suppose you have a Python script that has dependencies, is probably often in use and not part of a package with corresponding metadata; then setting up an environment fastly would be possible through this functionality.

chrysle commented 4 months ago

@WhyNotHugo would you like to review this? We're really short on help ATM.

webknjaz commented 4 months ago

@chrysle sorry, I didn't have time lately. I'll try to come back for another review round during/after EuroPython.