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:
j.spijker@ultimaker.com 2022-06-17 18:12:22 +02:00 committed by jspijker
parent f6aa409701
commit aaed543a22
2 changed files with 6 additions and 1 deletions

View file

@ -166,7 +166,7 @@ class CuraConan(ConanFile):
with open(Path(self.generators_folder, "Ultimaker-Cura.spec"), "w") as f:
f.write(pyinstaller.render(
name = str(self.options.display_name).replace(" ", "-"),
entrypoint = "cura_app.py",
entrypoint = self.conan_data["runinfo"][self._conan_data_version]["entrypoint"],
datas = datas,
binaries = binaries,
hiddenimports = pyinstaller_metadata["hiddenimports"],