tilboerner / depx

Examine and visualize dependencies used by Python modules 🔍
Other
19 stars 3 forks source link

HTML Template finder #23

Closed cuducos closed 5 years ago

cuducos commented 5 years ago

In addition to #22, in order to use depx as a pip-installable, we need to be able to find the template.html where ever we are. I drafted a proposal here based on depx/template.html as the first choice and then inspecting site-packages… what do you think about it?

Also, any strategies for tests? Anything better than mocking sys.path and pathlib.Path.exists method?

cuducos commented 5 years ago

Closed in favor of #25 (surely a more elegant solution to the same issue).