Running `python setup.py install` for any of the packages (except
BloodhoundTheme) yields the result shown at the end of this message.

I believe the issue is due to use of the JS message command class in
setup.py
    from trac.util.dist import get_l10n_js_cmdclass
    cmdclass = get_l10n_js_cmdclass()

With the exception of BloodhoundTheme, the packages have not been
configured through setup.cfg to extract and compile JS message catalogs.
Changing to the following fixes the issue for now:

    from trac.util.dist import get_l10n_cmdclass
    cmdclass = get_l10n_cmdclass()

http://trac.edgewall.org/browser/tags/trac-1.0.1/trac/dist.py?marks=472,479#L471

That, or we can configure to extract and compile message catalogs from the
JavaScript files for all packages, but I think it would be better to save
that for the next release.

I just wanted to confirm with the implementers of the internationalization
work before making the change on the trunk.

----

$ python setup.py install
running install
running bdist_egg
running egg_info
creating BloodhoundSearchPlugin.egg-info
writing requirements to BloodhoundSearchPlugin.egg-info/requires.txt
writing BloodhoundSearchPlugin.egg-info/PKG-INFO
writing top-level names to BloodhoundSearchPlugin.egg-info/top_level.txt
writing dependency_links to
BloodhoundSearchPlugin.egg-info/dependency_links.txt
writing entry points to BloodhoundSearchPlugin.egg-info/entry_points.txt
writing manifest file 'BloodhoundSearchPlugin.egg-info/SOURCES.txt'
reading manifest file 'BloodhoundSearchPlugin.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'BloodhoundSearchPlugin.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running compile_catalog_js
error: you must specify either the input file or the base directory

Reply via email to