Python extension distribution without sources

Peter Ruibal ruibalp at gmail.com
Tue Dec 2 10:49:57 CST 2008


You can do this by using the value of the field in the [extensions] section
of your mercurial.ini or hgrc appropriately.

For example, on win32, I have done:

[extensions]
qup=c:/usr/share/hgext/qup.py

To enable qup on both my tortoiseHg and locally built mercurial.


On Tue, Dec 2, 2008 at 2:30 AM, Berkes Ádám <berkesadam at gmail.com> wrote:

> I would like to ask whether it is possible to distribute a python
> extension module to an already installed binary package somehow. My
> question is focusing on windows (e.g. there is an installed tortoiseHg
> version), so if I have a .py module, how can I "plugin" this into the
> existing mercurial installation with the least impact and hacking
> possible. Is there any tool for such aim, or a descriptive explanation
> (setting up extension to hgrc is not part of my interest now)?
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>



-- 
Peter Ruibal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20081202/5883d090/attachment.htm 


More information about the Mercurial-devel mailing list