Endilll / vapoursynth-preview

Preview for VapourSynth scripts
Apache License 2.0
69 stars 21 forks source link

vspreview: make it usable with `python3 -m vspreview` #19

Closed AkarinVS closed 3 years ago

AkarinVS commented 3 years ago

By renaming main.py to main.py, we can directly use python3 -m vspreview to start it, without using run.py.

Of course, this rename might cause some merging issues for forks, so an alternative and minimum change is to just create a new __main__.py with the following content:

from .main import main
main()

Please let me know your preferences.

Endilll commented 3 years ago

Thank you for nice suggestion. I'd prefer keeping main.py untouched.

AkarinVS commented 3 years ago

PTAL.