CuraVersion.py.jinja 768 B

12345678910111213141516171819
  1. # Copyright (c) 2023 UltiMaker
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from pkg_resources import working_set
  4. CuraAppName = "{{ cura_app_name }}"
  5. CuraAppDisplayName = "{{ cura_app_display_name }}"
  6. CuraVersion = "{{ cura_version }}"
  7. CuraBuildType = "{{ cura_build_type }}"
  8. CuraDebugMode = {{ cura_debug_mode }}
  9. CuraCloudAPIRoot = "{{ cura_cloud_api_root }}"
  10. CuraCloudAPIVersion = "{{ cura_cloud_api_version }}"
  11. CuraCloudAccountAPIRoot = "{{ cura_cloud_account_api_root }}"
  12. CuraMarketplaceRoot = "{{ cura_marketplace_root }}"
  13. CuraDigitalFactoryURL = "{{ cura_digital_factory_url }}"
  14. CuraLatestURL = "{{ cura_latest_url }}"
  15. ConanInstalls = {{ conan_installs }}
  16. PythonInstalls = {package.key: {'version': package.version} for package in working_set}