• Xavier Thompson's avatar
    Downgrade pip, wheel and setuptools in python2 SRs · 8a492502
    Xavier Thompson authored
    When using slapos.reboostrap to re-launch buildout with the version
    of Python that was just installed, zc.buildout and its dependencies
    are reinstalled for the new Python with the same egg versions. Thus
    SRs which install Python 2 need to use Python-2-compatible versions
    of setuptools, pip and wheel all along.
    
    For this stack/slapos-py2.cfg is introduced.
    8a492502
software.cfg 491 Bytes
[buildout]

extends =
  ../../component/dcron/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/zabbix/buildout.cfg
  ../../stack/slapos.cfg

# Python2 versions for buildout (keep last)
    ../../stack/slapos-py2.cfg

parts =
  slapos-cookbook
  template

[template]
# Default template for the instance.
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
md5sum = 98a680fe8fddce5dcee455e65c228fde
output = ${buildout:directory}/template.cfg