mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Pyinstaller package directories from the instal directory
Contributes to CURA-10951
This commit is contained in:
parent
eeb3050e08
commit
0210b06fbb
2 changed files with 6 additions and 2 deletions
|
@ -19,6 +19,10 @@ pyinstaller:
|
||||||
package: "cura"
|
package: "cura"
|
||||||
src: "plugins"
|
src: "plugins"
|
||||||
dst: "share/cura/plugins"
|
dst: "share/cura/plugins"
|
||||||
|
curaengine_gradual_flow_plugin:
|
||||||
|
root: "."
|
||||||
|
src: "share/cura/plugins/CuraEngineGradualFlow"
|
||||||
|
dst: "share/cura/plugins/CuraEngineGradualFlow"
|
||||||
cura_resources:
|
cura_resources:
|
||||||
package: "cura"
|
package: "cura"
|
||||||
src: "resources"
|
src: "resources"
|
||||||
|
|
|
@ -210,8 +210,8 @@ class CuraConan(ConanFile):
|
||||||
src_path = os.path.join(self.source_folder, data["src"])
|
src_path = os.path.join(self.source_folder, data["src"])
|
||||||
else:
|
else:
|
||||||
src_path = os.path.join(self.deps_cpp_info[data["package"]].rootpath, data["src"])
|
src_path = os.path.join(self.deps_cpp_info[data["package"]].rootpath, data["src"])
|
||||||
elif "root" in data: # get the paths relative from the sourcefolder
|
elif "root" in data: # get the paths relative from the install folder
|
||||||
src_path = os.path.join(self.source_folder, data["root"], data["src"])
|
src_path = os.path.join(self.install_folder, data["root"], data["src"])
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
if Path(src_path).exists():
|
if Path(src_path).exists():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue