| Line # | Kind | Name | Docs |
|---|---|---|---|
| 55 | Class | Distribution | Undocumented |
| 70 | Class | SDist | Undocumented |
| 122 | Class | LocaleBuildPy | create .mo files from .po locales if needed |
| 133 | Class | TrialTest | Twisted Trial setuptools command |
| 189 | Class | Clean | Undocumented |
| 204 | Function | override_check_test_suite | Undocumented |
| 211 | Function | write_dict | DOCME |
| 225 | Function | mappings_from_text | Unserialise mappings from a string text. Mappings are lists
of 2-uplets.
|
| 249 | Function | text_from_mappings | Takes a mappings and return a serialised form. Mappings are
list of
|
| 271 | Function | read_mappings | Setuptools compliant deserialiser for mappings. |
| 278 | Function | write_mappings | Setuptools compliant serialiser for mappings. |
| 300 | Function | assert_list_of_string_tuples_or_none | Verify that value is a list of tuples of string |
| 314 | Function | assert_dict_or_none | Verify that value is a dictionary |
| 320 | Function | find_packages_internal | Undocumented |
| 335 | Function | find_packages | Undocumented |
| 352 | Function | find_plugins | Undocumented |
| 390 | Function | elisa_setup | Undocumented |
| 436 | Class | bdist_elisa | A customized bdist_egg command that creates .elisa.egg files. They |
| 450 | Class | build_po | Compile po files to mo files and ship mo files as package_data of |
| 473 | Function | is_development_egg | Check if the distribution is a development egg. |
| 486 | Function | get_plugin_toplevel_directory | Get the top level directory of a plugin distribution. |
| 288 | Function | _all | Undocumented |
Unserialise mappings from a string text. Mappings are lists
of 2-uplets.
key1 = value1 key2 = value2a key2 = value2bis deserialised into:
[("key1", "value1"), ("key2", "value2a"), ("key2", "value2b")]
Takes a mappings and return a serialised form. Mappings are
list of 2-uplets.
[("key1", "value1"), ("key2", "value2a"), ("key2", "value2b")]
is serialised into:
key1 = value1 key2 = value2a key2 = value2b
Check if the distribution is a development egg.
Development eggs store egg-info and python code in the same toplevel directory.| Parameters | dist | plugin distribution
(type: Distribution
) |
Get the top level directory of a plugin distribution.
Regular eggs and development eggs store files in different locations. Use this function to access the top level directory of a plugin eg:
toplevel_directory = get_plugin_toplevel_directory(dist)
sub_directory = '%s/%s' % (toplevel_directory, 'sub')
requirement = pkg_resources.Requirement.parse(dist.project_name)
if pkg_resources.resource_isdir(requirement, sub_directory):
real_sub_path = pkg_resources.resource_filename(requirement,
sub_directory)
| Parameters | dist | plugin distribution
(type: Distribution
) |