If it has a setup.py, PyPI would be a great place
> PS I considered making an egg but after reviewing a couple of other
> extensions it does not seem people tend to distribute other extensions
> this way - and there is a reason, easy_install won't be able to put
> them into hgext/, and if it installs it normally, the path to the file
> is rather ugly, so it turns out easier to just download .py and save
> it in preferable place
I saw that you have removed setup.py yes. I remembered having the same problem
with one of my extension.
There's a hack to make it work (didn't try it yet though):
define your .py file as a data file in setup.py and point the hgext
directory to install it to it.
But can't you create a package, let's say "foo", and point in .hgrc
your extensions
as "foo.keyring" ? (if "keyring.py" is the module)
or Mercurial just won't read anything else than the hgext. namespace ?
Cheers
Tarek