Add script for determining the set of symbols to export from a library.
[gnulib.git] / pygnulib / classes.py
blob9e8a65851ac8b8681c7e062d792b6e038d84b0e6
1 #!/usr/bin/python
2 # encoding: UTF-8
4 '''An easy access to pygnulib classes.'''
6 #===============================================================================
7 # Define global imports
8 #===============================================================================
9 __all__ = list()
11 try:
12 # Constants
13 from . import constants
15 # Main classes
16 from .GLConfig import GLConfig
17 from .GLError import GLError
18 from .GLInfo import GLInfo
20 # File system
21 from .GLFileSystem import GLFileSystem
22 from .GLFileSystem import GLFileAssistant
24 # Module system
25 from .GLModuleSystem import GLModule
26 from .GLModuleSystem import GLModuleSystem
27 from .GLModuleSystem import GLModuleTable
29 # Different modes
30 from .GLImport import GLImport
31 from .GLEmiter import GLEmiter
32 from .GLTestDir import GLTestDir
33 from .GLTestDir import GLMegaTestDir
35 # Other modules
36 from .GLMakefileTable import GLMakefileTable
37 except ValueError as error:
38 # Constants
39 import constants
41 # Main classes
42 from GLConfig import GLConfig
43 from GLError import GLError
44 from GLInfo import GLInfo
46 # File system
47 from GLFileSystem import GLFileSystem
48 from GLFileSystem import GLFileAssistant
50 # Module system
51 from GLModuleSystem import GLModule
52 from GLModuleSystem import GLModuleSystem
53 from GLModuleSystem import GLModuleTable
55 # Different modes
56 from GLImport import GLImport
57 from GLEmiter import GLEmiter
58 from GLTestDir import GLTestDir
59 from GLTestDir import GLMegaTestDir
61 # Other modules
62 from GLMakefileTable import GLMakefileTable
64 # Append modules to namespace.
65 __all__ += ['GLConfig', 'GLError', 'GLInfo']
66 __all__ += ['GLFileSystem', 'GLFileAssistant']
67 __all__ += ['GLModule', 'GLModuleSystem', 'GLModuleTable']
68 __all__ += ['GLImport', 'GLEmiter', 'GLTestDir']
69 __all__ += ['GLMakefileTable']
71 #===============================================================================
72 # Define module information
73 #===============================================================================
74 __author__ = constants.__author__
75 __license__ = constants.__license__
76 __copyright__ = constants.__copyright__