diff --git a/conandata.yml b/conandata.yml index 9b0517a744..be238bd4c0 100644 --- a/conandata.yml +++ b/conandata.yml @@ -41,10 +41,12 @@ pyinstaller: package: "native_cad_plugin" src: "res/plugins/NativeCADplugin" dst: "share/cura/plugins/NativeCADplugin" + enterprise_only: true native_cad_plugin_bundled: package: "native_cad_plugin" src: "res/bundled_packages" dst: "share/cura/resources/bundled_packages" + enterprise_only: true cura_resources: package: "cura" src: "resources" diff --git a/conanfile.py b/conanfile.py index 901c502603..edf755ae43 100644 --- a/conanfile.py +++ b/conanfile.py @@ -194,7 +194,7 @@ class CuraConan(ConanFile): pyinstaller_metadata = self.conan_data["pyinstaller"] datas = [] for data in pyinstaller_metadata["datas"].values(): - if not self.options.internal and data.get("internal", False): + if (not self.options.internal and data.get("internal", False)) or (not self.options.enterprise and data.get("enterprise_only", False)): continue if "oses" in data and self.settings.os not in data["oses"]: