__init__.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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/__init__.py
  13. DCCsi package for shared packages.
  14. """
  15. # standard imports
  16. from pathlib import Path
  17. import logging as _logging
  18. # -------------------------------------------------------------------------
  19. # -------------------------------------------------------------------------
  20. # global scope
  21. from DccScriptingInterface.azpy import _PACKAGENAME
  22. _PACKAGENAME = f'{_PACKAGENAME}.shared'
  23. _LOGGER = _logging.getLogger(_PACKAGENAME)
  24. _LOGGER.debug(f'Initializing: {_PACKAGENAME}')
  25. __all__ = ['common', 'ui', 'utils']
  26. from DccScriptingInterface.azpy.env_bool import env_bool
  27. from DccScriptingInterface.azpy.constants import ENVAR_DCCSI_GDEBUG
  28. from DccScriptingInterface.globals import *
  29. _MODULE_PATH = Path(__file__) # To Do: what if frozen?
  30. _LOGGER.debug(f'_MODULE_PATH: {_MODULE_PATH}')