Commit ed735991 authored by Julien Muchembled's avatar Julien Muchembled

re6st: rename [python] to fix conflict with section of same name in recent slapos

See also nexedi/slapos!720
parent 722f0e8d
...@@ -13,7 +13,7 @@ newest = false ...@@ -13,7 +13,7 @@ newest = false
allow-picked-versions = true allow-picked-versions = true
parts += chrpath python parts += chrpath python-bootstrap
[babeld-repository] [babeld-repository]
git-executable = git-executable =
...@@ -22,9 +22,9 @@ location = ${buildout:directory}/babeld ...@@ -22,9 +22,9 @@ location = ${buildout:directory}/babeld
[babeld] [babeld]
post-install = make clean post-install = make clean
[python] [python-bootstrap]
recipe = zc.recipe.egg recipe = zc.recipe.egg
interpreter = ${:_buildout_section_name_}.tmp interpreter = python.tmp
eggs = slapos.libnetworkcache eggs = slapos.libnetworkcache
# https://lab.nexedi.com/nexedi/slapos.buildout/merge_requests/11 # https://lab.nexedi.com/nexedi/slapos.buildout/merge_requests/11
scripts = dummy scripts = dummy
......
...@@ -96,7 +96,7 @@ def bootstrap(task): ...@@ -96,7 +96,7 @@ def bootstrap(task):
# we'll have the wanted version in cache. # we'll have the wanted version in cache.
"--setuptools-version", "33.1.0"), input=bootstrap) "--setuptools-version", "33.1.0"), input=bootstrap)
check_call(("bin/buildout", "buildout:extensions=", check_call(("bin/buildout", "buildout:extensions=",
"buildout:newest=true", "buildout:parts=python")) "buildout:newest=true", "buildout:parts=python-bootstrap"))
check_call(("bin/python.tmp", "bin/buildout", "bootstrap")) check_call(("bin/python.tmp", "bin/buildout", "bootstrap"))
os.rename("bin/python.tmp", "bin/python") os.rename("bin/python.tmp", "bin/python")
......
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