The template install puzzle
Jake Edge
jake at edge2.net
Wed May 25 23:35:52 UTC 2005
Matt Mackall wrote:
> It's not quite what's wanted. The templates really ought to be
> installed next to hgweb.py
maybe this is violently cheating and Thomas' neck hair will bristle, but
i added the following to setup.py and it seemed to do what i wanted it to:
data_files=[ ('lib/python/mercurial/templates', [ 'templates/map' ]) ]
it is somewhat annoying that you would have to list each file
seperately, but perhaps you could create some a list of the files in the
templates directory automatically in setup.py ...
jake
--
Jake Edge - jake at edge2.net - http://www.edge2.net
More information about the Mercurial
mailing list