[buildout]
extends =
  ../../stack/slapos.cfg
  ../../component/macros/virtual-env.cfg

parts =
  instance
  slapos-cookbook

[python]
part = python3

[django-env]
<= virtual-env-base
location = ${buildout:directory}/activate
eggs = Django

[instance]
recipe = slapos.recipe.template
output = ${buildout:directory}/instance.cfg
inline =
  [buildout]
  parts = publish

  eggs-directory = ${buildout:eggs-directory}
  develop-eggs-directory = ${buildout:develop-eggs-directory}

  [publish]
  recipe = slapos.cookbook:publish
  activate-script = ${django-env:location}

[versions]
Django = 3.2.12
sqlparse = 0.4.2
pytz = 2021.3
asgiref = 3.3.2
typing-extensions = 4.1.1:whl
