.env.example 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Copyright (c) Contributors to the Open 3D Engine Project.
  2. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  3. #
  4. # SPDX-License-Identifier: Apache-2.0 OR MIT
  5. #
  6. #
  7. # -------------------------------------------------------------------------
  8. # Sets up the project environment for python scripting using the
  9. export DYNACONF_COMPANY=Amazon
  10. # if a O3DE project isn't set use this gem
  11. export DYNACONF_O3DE_PROJECT=DccScriptingInterface
  12. export DYNACONF_PATH_O3DE_PROJECT=`pwd`
  13. export DYNACONF_O3DE_DEV=${PATH_O3DE_PROJECT}\..\..\..\..
  14. # LY build folder
  15. export DYNACONF_PATH_O3DE_BUILD=${O3DE_DEV}\build
  16. export DYNACONF_PATH_O3DE_BIN=${PATH_O3DE_BUILD}\bin\profile
  17. # default IDE and debug settings
  18. #export DYNACONF_DCCSI_GDEBUG=false
  19. #export DYNACONF_DCCSI_DEV_MODE=false
  20. export DYNACONF_DCCSI_GDEBUGGER=WING
  21. export DYNACONF_DCCSI_LOGLEVEL=20
  22. # defaults for DccScriptingInterface (DCCsi)
  23. export DYNACONF_PATH_DCCSIG=${O3DE_DEV}\Gems\AtomLyIntegration\TechnicalArt\DccScriptingInterface
  24. # set up default python interpreter (O3DE)
  25. # we may want to entirely remove these and rely on config.py to dynamically set up
  26. # however VScode can be configured with a .env so might be valueable to keep
  27. export DYNACONF_DCCSI_PY_VERSION_MAJOR=3
  28. export DYNACONF_DCCSI_PY_VERSION_MINOR=7
  29. export DYNACONF_DCCSI_PY_VERSION_RELEASE=11
  30. # To Do: probably move the folder below into the /SDK folder?
  31. export DYNACONF_PATH_DCCSI_PYTHON=${PATH_DCCSIG}\3rdParty\Python
  32. # add access to a Lib location that matches the py version (3.10.x)
  33. # switch this for other python version like (2.7.x) for Maya
  34. export DYNACONF_PATH_DCCSI_PYTHON_LIB=${PATH_DCCSI_PYTHON}\Lib\${DCCSI_PY_VERSION_MAJOR}.x\${DCCSI_PY_VERSION_MAJOR}.${DCCSI_PY_VERSION_MINOR}.x\site-packages
  35. # TO DO: figure out how to best deal with OS folder (i.e. 'windows')
  36. export DYNACONF_PATH_O3DE_PYTHON_INSTALL=${O3DE_DEV}\python
  37. export DYNACONF_DCCSI_PY_BASE=${PATH_O3DE_PYTHON_INSTALL}\python.cmd
  38. # set up Qt / PySide2
  39. # TO DO: These should NOT be set in the global env as they will cause conflicts
  40. # with other Qt apps (like DCC tools), only set in local.env, or modify config.py
  41. # for utils/tools/apps that need them ( see config.init_ly_pyside() )
  42. #export DYNACONF_QTFORPYTHON_PATH=${O3DE_DEV}\Gems\QtForPython\3rdParty\pyside2\windows\release
  43. #export DYNACONF_QT_PLUGIN_PATH=${PATH_O3DE_BUILD}\bin\profile\EditorPlugins
  44. #export DYNACONF_QT_QPA_PLATFORM_PLUGIN_PATH=${PATH_O3DE_BUILD}\bin\profile\EditorPlugins\platforms