Mercurial > gnulib
view pygnulib/classes.py @ 40180:91dd286c2a44
declared.sh: Fix --version output.
* build-aux/declared.sh (func_version): Update package name.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 04 Feb 2019 21:37:28 +0100 |
parents | b5117d36849c |
children |
line wrap: on
line source
#!/usr/bin/python # encoding: UTF-8 '''An easy access to pygnulib classes.''' #=============================================================================== # Define global imports #=============================================================================== __all__ = list() try: # Constants from . import constants # Main classes from .GLConfig import GLConfig from .GLError import GLError from .GLInfo import GLInfo # File system from .GLFileSystem import GLFileSystem from .GLFileSystem import GLFileAssistant # Module system from .GLModuleSystem import GLModule from .GLModuleSystem import GLModuleSystem from .GLModuleSystem import GLModuleTable # Different modes from .GLImport import GLImport from .GLEmiter import GLEmiter from .GLTestDir import GLTestDir from .GLTestDir import GLMegaTestDir # Other modules from .GLMakefileTable import GLMakefileTable except ValueError as error: # Constants import constants # Main classes from GLConfig import GLConfig from GLError import GLError from GLInfo import GLInfo # File system from GLFileSystem import GLFileSystem from GLFileSystem import GLFileAssistant # Module system from GLModuleSystem import GLModule from GLModuleSystem import GLModuleSystem from GLModuleSystem import GLModuleTable # Different modes from GLImport import GLImport from GLEmiter import GLEmiter from GLTestDir import GLTestDir from GLTestDir import GLMegaTestDir # Other modules from GLMakefileTable import GLMakefileTable # Append modules to namespace. __all__ += ['GLConfig', 'GLError', 'GLInfo'] __all__ += ['GLFileSystem', 'GLFileAssistant'] __all__ += ['GLModule', 'GLModuleSystem', 'GLModuleTable'] __all__ += ['GLImport', 'GLEmiter', 'GLTestDir'] __all__ += ['GLMakefileTable'] #=============================================================================== # Define module information #=============================================================================== __author__ = constants.__author__ __license__ = constants.__license__ __copyright__ = constants.__copyright__