Package elisa :: Package core :: Package utils :: Module dist
[hide private]
[frames] | no frames]

Module dist

source code

Functions used to extend setuptools and add elisa specific metadata when distributing plugins.

Classes [hide private]
  build_po
Read a set of Elisa translation files, compile po files existing in the directories listed in those files and ship mo files as package_data of the distribution.
Functions [hide private]
 
write_dict(cmd, basename, filename, force=True) source code
 
assert_dict_or_none(dist, attr, value)
Verify that value is a dictionary
source code
dict
scan_plugin_conf(conf_path, name_prefix='elisa-plugin-')
Read the config located at given path and return data suitable to distutils' setup().
source code
Variables [hide private]
  __maintainer__ = 'Philippe Normand <philippe@fluendo.com>'
Function Details [hide private]

scan_plugin_conf(conf_path, name_prefix='elisa-plugin-')

source code 
Read the config located at given path and return data suitable to distutils' setup().
Parameters:
  • conf_path (string) - absolute or relative path to a plugin.conf file
  • name_prefix (string) - plugin's name prefix
Returns: dict