On Tue, 20 Oct 2015 10:09:25 +0200, Marcin Kasperski wrote: > > 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. > > I ended up documenting how to clone (and implementing in my extension > trick „if you can't import helper module, look whether it is available > in the same directory or appropriately named neighbour”). > > Still, it would be fairly nice, if Windows TortoiseHg could bundle some > kind of properly configured pip, so one could > tortoisehg-pip some-package > or maybe > thg pip some-package > and have this package visible in Tortoise Mercurial. > For non-bundled plugins usability it would be incredibly friendlier.
Well, as far as I know, py2exe tries the opposite, i.e. isolate the application environment. Also, it won't be easy to write a package manager in a secure way. You might be interested in packaging TortoiseHg on MSYS2, which has Python and Qt packages installable by pacman. > Or, if not that, maybe Windows Tortoise could at least handle some > site-packages directory (say C:\Program Files\Tortoise HG\site-packages > or sth like that)? This would open possibility of writing separate > „install to tortoise"" tool. Touching "Program Files" by user application is the source of trouble. They've made a tricky filesystem abstraction for Win9x compatibility. ------------------------------------------------------------------------------ _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

