mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:29:01 +08:00
re-added the bindirs
For some reason the paths aren't found by the py_requires Contributes to CURA-10376
This commit is contained in:
parent
c36ea10b08
commit
684da999f6
@ -26,7 +26,7 @@ class CuraConan(ConanFile):
|
|||||||
no_copy_source = True # We won't build so no need to copy sources to the build folder
|
no_copy_source = True # We won't build so no need to copy sources to the build folder
|
||||||
|
|
||||||
# FIXME: Remove specific branch once merged to main
|
# FIXME: Remove specific branch once merged to main
|
||||||
python_requires = "umbase/[>=0.1.7]@ultimaker/stable", "translationextractor/[>=2.0.0]@ultimaker/stable"
|
python_requires = "umbase/[>=0.1.7]@ultimaker/stable", "translationextractor/[>=2.1.1]@ultimaker/stable"
|
||||||
python_requires_extend = "umbase.UMBaseConanfile"
|
python_requires_extend = "umbase.UMBaseConanfile"
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
@ -328,7 +328,8 @@ class CuraConan(ConanFile):
|
|||||||
vb.generate()
|
vb.generate()
|
||||||
|
|
||||||
# FIXME: once m4, autoconf, automake are Conan V2 ready use self.win_bash and add gettext as base tool_requirement
|
# FIXME: once m4, autoconf, automake are Conan V2 ready use self.win_bash and add gettext as base tool_requirement
|
||||||
pot = self.python_requires["translationextractor"].module.ExtractTranslations(self)
|
cpp_info = self.dependencies["gettext"].cpp_info
|
||||||
|
pot = self.python_requires["translationextractor"].module.ExtractTranslations(self, cpp_info.bindirs[0])
|
||||||
pot.generate()
|
pot.generate()
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user