add setup.py and make recoll-webui a proper Python package
I might work on this later, just leaving as issue for now in case you have any suggestions etc.
This has several benefits:
- easier to keep track of dependencies (they would be listed in setup.py)
- easier to isolate installation (e.g. can use something like virtualenv or
https://pypa.github.io/pipx
), so there is no potential conflict ofwaitress/bottle
dependencies with other software - easier to install, especially if we release the webui on PIP. But even without it it would allow installing as
pip install git+https://framagit.org/medoc92/recollwebui
and then running aspython3 -m recoll_webui
-- much easier than cloning and running random scripts :)