Commit fd080a5a authored by Thomas Leymonerie's avatar Thomas Leymonerie

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

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