mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 16:27:51 -06:00
Add entrypoint info to conandata
With the new PyCharmRunEnv generate conan should automatically create a pycahrm run target, setting the paths correctly. Usage as: `conan instal ....... -g PyCharmRunEnv` Contributes to CURA-9365
This commit is contained in:
parent
f6aa409701
commit
aaed543a22
2 changed files with 6 additions and 1 deletions
|
@ -15,6 +15,11 @@ requirements:
|
||||||
- "uranium/[~5.1.0-cura_9365]@ultimaker/testing"
|
- "uranium/[~5.1.0-cura_9365]@ultimaker/testing"
|
||||||
- "fdm_materials/[~5.1.0-cura_9365]@ultimaker/testing"
|
- "fdm_materials/[~5.1.0-cura_9365]@ultimaker/testing"
|
||||||
- "cura_binary_data/[~5.1.0-cura_9365]@ultimaker/testing"
|
- "cura_binary_data/[~5.1.0-cura_9365]@ultimaker/testing"
|
||||||
|
runinfo:
|
||||||
|
"5.1.0-beta":
|
||||||
|
entrypoint: "cura_app.py"
|
||||||
|
"5.1.0-cura_9365":
|
||||||
|
entrypoint: "cura_app.py"
|
||||||
pyinstaller:
|
pyinstaller:
|
||||||
"5.1.0-beta":
|
"5.1.0-beta":
|
||||||
datas:
|
datas:
|
||||||
|
|
|
@ -166,7 +166,7 @@ class CuraConan(ConanFile):
|
||||||
with open(Path(self.generators_folder, "Ultimaker-Cura.spec"), "w") as f:
|
with open(Path(self.generators_folder, "Ultimaker-Cura.spec"), "w") as f:
|
||||||
f.write(pyinstaller.render(
|
f.write(pyinstaller.render(
|
||||||
name = str(self.options.display_name).replace(" ", "-"),
|
name = str(self.options.display_name).replace(" ", "-"),
|
||||||
entrypoint = "cura_app.py",
|
entrypoint = self.conan_data["runinfo"][self._conan_data_version]["entrypoint"],
|
||||||
datas = datas,
|
datas = datas,
|
||||||
binaries = binaries,
|
binaries = binaries,
|
||||||
hiddenimports = pyinstaller_metadata["hiddenimports"],
|
hiddenimports = pyinstaller_metadata["hiddenimports"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue