Add run.py as entry point to solve package import problems
This commit is contained in:
parent
1dbc6919fb
commit
c7187bc335
2 changed files with 8 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
7
run.py
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
"""Entry point for the program"""
|
||||
|
||||
from src import flytex2html
|
||||
|
||||
flytex2html.main()
|
Loading…
Reference in a new issue