vapoursynth / vsrepo

A simple package repository for VapourSynth
MIT License
113 stars 29 forks source link

PIP support? The future of vs-script support in vsrepo #198

Open theChaosCoder opened 1 year ago

theChaosCoder commented 1 year ago

More and more scripts nowadays use pip and do not provide a wheel file anymore.

Latest best example is https://github.com/HomeOfVapourSynthEvolution/mvsfunc Installable: pip3 install git+https://github.com/HomeOfVapourSynthEvolution/mvsfunc

vsrepo users are now stuck with an old version.

It is possible to add all the individual files and download them via vsrepo. It would work with the current system. I think pip (and the current PyWheel-type installation) do more or less the same thing. Downloading and unzipping files to location xy basically.

In the mvsfunc case you "only" have to add these files

__init__.py
_metadata.py
mvsfunc.py
py.typed

But tracking all the files by hand would be torture.

Should vsrepo add some kind of pip support? Or should we simply remove all "newer" script packages?

What are your thoughts on this?

myrsloik commented 1 year ago

I guess some kind of pip support is the way to go, it's what those annoying users are doing

theChaosCoder commented 1 year ago

Not sure if this is the best way to go, but https://pypi.org/project/pip-api might simplify things.