In that case, how about punting on the issue entirely and instead publishing docwriter on PyPI and letting people pip it from there? You just test for its availability in PATH and tell people what to do to get it otherwise. Then you have full control over whether you want to install it globally, in your user dir or in a venv.
The problem would be fixing bugs with docwriter. Because nobody usually does a pip --upgrade, it will be very hard for a new version of docwriter to reach people.
Well, I do, and the primary user would be the Werner, no? |