• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# coding: utf-8
2from __future__ import unicode_literals, division, absolute_import, print_function
3
4from .version import __version__, __version_info__
5
6__all__ = [
7    '__version__',
8    '__version_info__',
9    'load_order',
10]
11
12
13def load_order():
14    """
15    Returns a list of the module and sub-module names for asn1crypto in
16    dependency load order, for the sake of live reloading code
17
18    :return:
19        A list of unicode strings of module names, as they would appear in
20        sys.modules, ordered by which module should be reloaded first
21    """
22
23    return [
24        'asn1crypto._errors',
25        'asn1crypto._int',
26        'asn1crypto._ordereddict',
27        'asn1crypto._teletex_codec',
28        'asn1crypto._types',
29        'asn1crypto._inet',
30        'asn1crypto._iri',
31        'asn1crypto.version',
32        'asn1crypto.pem',
33        'asn1crypto.util',
34        'asn1crypto.parser',
35        'asn1crypto.core',
36        'asn1crypto.algos',
37        'asn1crypto.keys',
38        'asn1crypto.x509',
39        'asn1crypto.crl',
40        'asn1crypto.csr',
41        'asn1crypto.ocsp',
42        'asn1crypto.cms',
43        'asn1crypto.pdf',
44        'asn1crypto.pkcs12',
45        'asn1crypto.tsp',
46        'asn1crypto',
47    ]
48