Commit 0b3adb4e authored by Dmitry Blinov's avatar Dmitry Blinov

make meson use python3 in a non-coercive way

parent b731228e
......@@ -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