[EMAIL PROTECTED] wrote: >> Hello,> > [EMAIL PROTECTED] wrote:> > I just followed the instuction from >> http://trac.edgewall.org/wiki/TracMercurial but failed.> > > > It says that >> hg is not recognized after I build The TracMercurial plugin egg and added to >> the plugins folder of the environment,> > You need to be able to import the >> mercurial package from the python> interpreter you're using for running >> Trac.> For example, if you're starting tracd from a shell, then from the >> same> shell you need to be able to do the following:> > $ python> >>> import >> mercurial> >>>> > If you get an import error at this point, Mercurial itself >> was not> properly installed for this interpreter. >> > > *** > > sure, 'import mercurial' not work! > > but I can't figure out how to enable it. I searched > http://www.selenic.com/mercurial/ but find nothing like > svn-python-1.4.6.win32-py2.5.exe. Mercurial just works fine even if > 'import mercurial' not working. > > sorry but can you help me that is there a seperate package for python to > enable 'import mercurial' ?
Ah the joys of py2exe! ;-) Please read http://www.selenic.com/mercurial/wiki/index.cgi/WindowsInstallers The version you have installed doesn't allow you to reuse the libraries in another context than the hg executable (I remember having tried to unzip the library.zip and use that by extending the PYTHONPATH, but I don't remember if that worked, probably yes). As written in the above wiki page, you may have better luck with the installer provided on the qct page, see http://qct.sourceforge.net/Mercurial-NSI.html Of course, if you have a development environment, you might prefer to build mercurial from source. In this case, please go through the http://www.selenic.com/mercurial/wiki/index.cgi/BuildingOnWindows page, as there are many caveats (as you figured out by yourself with the bdiff issue). -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
