Package elisa :: Package core :: Package utils :: Module dist

Module dist

source code

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

Classes
  Distribution
  SDist
  LocaleBuildPy
create .mo files from .po locales if needed
  TrialTest
Twisted Trial setuptools command
  Clean
  bdist_elisa
A customized bdist_egg command that creates .elisa.egg files.
  build_po
Compile po files to mo files and ship mo files as package_data of the distribution.
Functions
 
write_dict(cmd, basename, filename, force=False)
DOCME
source code
 
write_mappings(cmd, basename, filename, force=False)
Setuptools compliant serialiser for mappings.
source code
 
assert_list_of_string_tuples_or_none(dist, attr, value)
Verify that value is a list of tuples of string
source code
 
assert_dict_or_none(dist, attr, value)
Verify that value is a dictionary
source code
 
find_packages_internal(path='.') source code
 
find_packages(path='.') source code
Variables
  __maintainer__ = 'Philippe Normand <philippe@fluendo.com>'
  PACKAGE_DATA = {'': ['*.conf', '*.png', '*.mo', '*.po', '*.xml...
  CMD_CLASS = {'test': TrialTest, 'clean': Clean, 'sdist': SDist}

Imports: os, sys, types, i18n, misc, setuptools, SetuptoolsDistribution, bdist_egg, test, sdist, build_py, DistutilsSetupError, DistutilsOptionError, Command, clean, trial, pkg_resources


Variables Details

PACKAGE_DATA

Value:
{'': ['*.conf', '*.png', '*.mo', '*.po', '*.xml', '*.lirc']}