package_qgis_fix_pythonpath (#33655)
* package_qgis_fix_pythonpath * check if bindings enabled also Co-authored-by: sbulut <sbulut@3vgeomatics.com>
This commit is contained in:
parent
d4ea74bf80
commit
4b549560f9
@ -240,6 +240,11 @@ def cmake_args(self):
|
|||||||
args.append("-DWITH_GRASS7=OFF")
|
args.append("-DWITH_GRASS7=OFF")
|
||||||
return args
|
return args
|
||||||
|
|
||||||
|
def setup_run_environment(self, env):
|
||||||
|
if "+bindings" in self.spec:
|
||||||
|
# python module isn't located at the standard path
|
||||||
|
env.prepend_path("PYTHONPATH", self.prefix.share.qgis.python)
|
||||||
|
|
||||||
def check(self):
|
def check(self):
|
||||||
"""The tests of fail without access to an X server, cant run on build servers"""
|
"""The tests of fail without access to an X server, cant run on build servers"""
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user