Hi @lucrib! First of all, thank you very much for your work!
I thought it was a good idea to include a setup.py file to the code to be able to install it quickly using pip. These changes reorganize the file layout splitting sources from resources from tests, and adds a script to install the code easily, so it can be imported in other projects of the system.
With these changes, the code and its resources can be installed running pip install [repo root dir]. Furthermore, the generated HTML will link to the installed resources, so you won't need the HTML files to be in the same directory as the templates, css and so on. Personally, I found it pretty useful and convenient.
If you think it's a good improvement, please merge the PR; I'd be happy to contribute.
Hi @lucrib! First of all, thank you very much for your work!
I thought it was a good idea to include a
setup.py
file to the code to be able to install it quickly usingpip
. These changes reorganize the file layout splitting sources from resources from tests, and adds a script to install the code easily, so it can be imported in other projects of the system.With these changes, the code and its resources can be installed running
pip install [repo root dir]
. Furthermore, the generated HTML will link to the installed resources, so you won't need the HTML files to be in the same directory as the templates, css and so on. Personally, I found it pretty useful and convenient.If you think it's a good improvement, please merge the PR; I'd be happy to contribute.
Thanks again!