mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Find python dependencies directly in python
CURA-10561
This commit is contained in:
parent
c7eee660de
commit
e7188c2f9f
2 changed files with 3 additions and 21 deletions
|
@ -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}
|
Loading…
Add table
Add a link
Reference in a new issue