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:
Jelle Spijker 2023-03-08 13:24:23 +01:00
parent c36ea10b08
commit 684da999f6
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -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
# 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"
options = {
@ -328,7 +328,8 @@ class CuraConan(ConanFile):
vb.generate()
# 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()
def build(self):