Public
Snippet $352 authored by Thomas Gambier

bootstrap buildout

#!/usr/bin/python -S
url = 'https://bootstrap.pypa.io/bootstrap-buildout.py'
import sys; sys.argv[1:1] = (
  '--buildout-version', '2.5.2+slapos012',
  '--setuptools-version', '33.1.1',
#  '-f', 'http://www.nexedi.org/static/packages/source/',
  '-f', 'http://www.nexedi.org/static/packages/source/slapos.buildout/',
)
import urllib; exec(compile(urllib.urlopen(url).read(), url, 'exec'))