Commit d2d01680 authored by Dmitry Blinov's avatar Dmitry Blinov Committed by Esteban Blanc

make meson use python3 in a non-coercive way

parent 168c8b09
......@@ -19,7 +19,7 @@ configure-command =
echo "current working directory is `pwd`"
sed -i '20s/value: true/value: false/' meson_options.txt
mkdir build && cd build
${buildout:directory}/bin/${meson:egg} --prefix=%(prefix)s
${meson:location}/bin/meson --prefix=%(prefix)s
make-binary = cd build && ${ninja:location}/ninja
environment =
......
......@@ -3,12 +3,18 @@
extends =
../../component/python3/buildout.cfg
#needs python=python3 in sr
parts = meson
[meson]
recipe = zc.recipe.egg:scripts
egg = meson
#recipe = zc.recipe.egg:scripts
#egg = meson
recipe = plone.recipe.command
command =
bash -c "${python3:executable} -m venv --clear ${:location} && \
. ${:location}/bin/activate && \
pip install meson==0.52 --prefix ${:location}"
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment