mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
fix base_dir for venv when running from source
Contributes to CURA-8831
This commit is contained in:
parent
e4feae414b
commit
f95b22404a
1 changed files with 4 additions and 2 deletions
|
@ -93,8 +93,10 @@ class CuraConan(ConanFile):
|
||||||
if self.build_folder is not None:
|
if self.build_folder is not None:
|
||||||
return Path(self.build_folder)
|
return Path(self.build_folder)
|
||||||
return Path(os.getcwd(), "venv")
|
return Path(os.getcwd(), "venv")
|
||||||
|
if self.in_local_cache:
|
||||||
return Path(self.install_folder) # TODO: add base dir for running from source
|
return Path(self.install_folder)
|
||||||
|
else:
|
||||||
|
return Path(self.source_folder, "venv")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def _share_dir(self):
|
def _share_dir(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue