mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Add debug information for python dependencies generation
This commit is contained in:
parent
f50676a18c
commit
cd48c7cb9d
1 changed files with 4 additions and 0 deletions
|
@ -154,11 +154,13 @@ class CuraConan(ConanFile):
|
|||
env = "conanrun",
|
||||
stdout = buffer)
|
||||
|
||||
print(f"############################################################ {buffer.getvalue()}")
|
||||
packages = str(buffer.getvalue()).strip('\r\n').split(";")
|
||||
for package in packages:
|
||||
name, version = package.split(",")
|
||||
python_installs[name] = {"version": version}
|
||||
|
||||
print(python_installs)
|
||||
return python_installs
|
||||
|
||||
def _generate_cura_version(self, location):
|
||||
|
@ -173,6 +175,8 @@ class CuraConan(ConanFile):
|
|||
internal_tag = f"+internal" if self.options.internal else ""
|
||||
cura_version = f"{cura_version.major}.{cura_version.minor}.{cura_version.patch}{pre_tag}{build_tag}{internal_tag}"
|
||||
|
||||
self.output.info(f"Write CuraVersion.py to {self.recipe_folder}")
|
||||
|
||||
with open(os.path.join(location, "CuraVersion.py"), "w") as f:
|
||||
f.write(cura_version_py.render(
|
||||
cura_app_name = self.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue