__init__.py 919 B

123456789101112131415161718192021222324252627282930
  1. # coding:utf-8
  2. #!/usr/bin/python
  3. #
  4. # Copyright (c) Contributors to the Open 3D Engine Project.
  5. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  6. #
  7. # SPDX-License-Identifier: Apache-2.0 OR MIT
  8. #
  9. #
  10. # -------------------------------------------------------------------------
  11. """! @brief
  12. <DCCsi>/azpy/shared/common/__init__.py
  13. """
  14. # standard imports
  15. from pathlib import Path
  16. import logging as _logging
  17. # -------------------------------------------------------------------------
  18. # global scope
  19. from DccScriptingInterface.azpy.shared import _PACKAGENAME
  20. _PACKAGENAME = f'{_PACKAGENAME}.common'
  21. _LOGGER = _logging.getLogger(_PACKAGENAME)
  22. _LOGGER.debug(f'Initializing: {_PACKAGENAME}')
  23. __all__ = ['core_utils', 'envar_utils']
  24. from DccScriptingInterface.globals import *
  25. _MODULE_PATH = Path(__file__) # To Do: what if frozen?
  26. _LOGGER.debug(f'_MODULE_PATH: {_MODULE_PATH}')