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.6k stars 607 forks source link

Support scripts with inline script metadata as input files #2107

Open chrysle opened 3 weeks ago

chrysle commented 3 weeks ago

Closes #2027.

Contributor checklist
Maintainer checklist
chrysle commented 2 weeks ago

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

WhyNotHugo commented 2 weeks ago

What's the use-case for this?

chrysle commented 2 weeks 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 2 weeks ago

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

webknjaz commented 2 weeks ago

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