On Mon, 19 Oct 2015 09:57:12 +0200, Marcin Kasperski wrote: > I recently wrote a few potentially useful Mercurial extensions, and I am > trying to make installing them reasonably easy. > > On Linux that's trivial – as I pypi-fied them, I can ask user to > sudo pip install mercurial_dynamic_username > and put > [extensions] > dynamic_username = > in ~/.hgrc. And that's all. > > On Windows – using TortoiseHG – that seems much harder. Pip-installing > (in my standard system Python) works but TortoiseHG-bundled mercurial > does not see those modules. > > Is there anything better than asking the user to manually download .py > files? And, if so, where should he or she put them so they are visible > in path?
(Disclaimer: I don't use Windows at all) Windows is hard. If you want to install them by pip and make them just work, you'll need a workable Python "mercurial" and "tortoisehg" packages. I don't think it is worth trying because common Windows users don't have Python. > (btw, not only my extensions problem. hg-git pip installs fine together > with dulwich, but hg does not see it, etc) That's one reason hg-git is shipped with the TortoiseHg installer. ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

