Commit fd080a5a authored by Thomas Leymonerie's avatar Thomas Leymonerie

software/django: Use slapos.recipe.build:egg instead zc.recipe.egg

parent 7c75ecf7
[instance]
filename = instance.cfg.in
md5sum = e8cb73e18d2ca8246bf73fbc56cc95da
md5sum = 03c83699100659d0aab0621baf43acea
......@@ -5,18 +5,14 @@ parts =
eggs-directory = {{ buildout['eggs-directory'] }}
develop-eggs-directory = {{ buildout['develop-eggs-directory'] }}
[python-path]
recipe = slapos.recipe.build:egg
eggs = {{ django['eggs'] }}
[setup-script]
recipe = slapos.recipe.template:jinja2
rendered = ${buildout:directory}/setup-script
template =
inline:#!/bin/sh
export PATH={{ buildout['bin-directory'] }}:$PATH
export PYTHONPATH=${python-path:pythonpath}:$PYTHONPATH
export PYTHONPATH={{ pythonpath }}:$PYTHONPATH
[publish-connection-information]
recipe = slapos.cookbook:publish
setup-script = ${setup-script:rendered}
env-script = ${setup-script:rendered}
......@@ -5,25 +5,27 @@ extends =
parts =
django
instance
slapos-cookbook
#instance
#slapos-cookbook
[python]
part = python3
[django]
recipe = zc.recipe.egg
interpreter = python_django
recipe = slapos.recipe.build:egg
script-path = ${buildout:directory}/theia-bin
eggs =
Django
[instance]
recipe = slapos.recipe.template:jinja2
rendered = ${buildout:directory}/template.cfg
template = ${:_profile_base_location_}/${:filename}
context =
section buildout buildout
section django django
#[instance]
#recipe = slapos.recipe.template:jinja2
#rendered = ${buildout:directory}/template.cfg
#template = ${:_profile_base_location_}/${:filename}
#context =
# section buildout buildout
# section django django
# raw pythonpath ${django:pythonpath}
[versions]
Django = 3.2.12
......
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