mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Fixed empty source
Contributes to CURA-9365
This commit is contained in:
parent
648c1e95db
commit
d07c9d64cc
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ class CuraConan(ConanFile):
|
|||
return py_interp
|
||||
|
||||
def _generate_cura_version(self, location):
|
||||
with open(Path(self.source_folder, "CuraVersion.py.jinja"), "r") as f:
|
||||
with open(Path(__file__).parent.joinpath("CuraVersion.py.jinja"), "r") as f:
|
||||
cura_version_py = Template(f.read())
|
||||
|
||||
with open(Path(location, "CuraVersion.py"), "w") as f:
|
||||
|
@ -168,7 +168,7 @@ class CuraConan(ConanFile):
|
|||
for bin in src_path.glob(binary["binary"]):
|
||||
binaries.append((str(bin), binary["dst"]))
|
||||
|
||||
with open(Path(Path(__file__).parent, "Ultimaker-Cura.spec.jinja"), "r") as f:
|
||||
with open(Path(__file__).parent.joinpath("Ultimaker-Cura.spec.jinja"), "r") as f:
|
||||
pyinstaller = Template(f.read())
|
||||
|
||||
with open(Path(location, "Ultimaker-Cura.spec"), "w") as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue