not sure how to fix locale packaging
Neal Becker
ndbecker2 at gmail.com
Tue Oct 5 13:18:48 CDT 2010
Neal Becker wrote:
> mercurial has hard-wired to install .mo files under python_sitearch, and
> i18n.py has hard-coded to look there.
>
> On fedora, find-lang.sh is usually used to find these files, but expects
> to find them in e.g., /usr/share/locale
>
> Not sure what's the best way to fix this. Either leave .mo files where
> mercurial expects them, and replace find-lang.sh, or move them to
> /usr/share/locale and patch i18n.py
I think the best solution would be to add a setup.py configuration option
--locale-dir. I don't know enough about setuptools to try this.
More information about the Mercurial-devel
mailing list