Add run.py as entry point to solve package import problems

This commit is contained in:
flyingscorpio@clevo 2022-06-30 23:13:58 +02:00
parent 1dbc6919fb
commit c7187bc335
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,5 @@
install: src/flytex2html.py
@ln -rs src/flytex2html.py ~/.local/bin/flytex2html 2>/dev/null && echo "Made symlink to ~/.local/bin/flytex2html" || echo "Nothing to do"
@ln -rs run.py ~/.local/bin/flytex2html 2>/dev/null && echo "Made symlink to ~/.local/bin/flytex2html" || echo "Nothing to do"
uninstall:
@rm ~/.local/bin/flytex2html 2>/dev/null && echo "Removed ~/.local/bin/flytex2html" || echo "Nothing to uninstall"

7
run.py Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env python3
"""Entry point for the program"""
from src import flytex2html
flytex2html.main()