Find python dependencies directly in python

CURA-10561
This commit is contained in:
c.lamboo 2023-10-19 21:54:50 +02:00
parent c7eee660de
commit e7188c2f9f
2 changed files with 3 additions and 21 deletions

View file

@ -1,6 +1,8 @@
# Copyright (c) 2023 UltiMaker
# Cura is released under the terms of the LGPLv3 or higher.
from pkg_resources import working_set
CuraAppName = "{{ cura_app_name }}"
CuraAppDisplayName = "{{ cura_app_display_name }}"
CuraVersion = "{{ cura_version }}"
@ -14,4 +16,4 @@ CuraDigitalFactoryURL = "{{ cura_digital_factory_url }}"
CuraLatestURL = "{{ cura_latest_url }}"
ConanInstalls = {{ conan_installs }}
PythonInstalls = {{ python_installs }}
PythonInstalls = {package.key: {'version': package.version} for package in working_set}