Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Leymonerie
slapos
Commits
fd080a5a
Commit
fd080a5a
authored
Feb 24, 2022
by
Thomas Leymonerie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/django: Use slapos.recipe.build:egg instead zc.recipe.egg
parent
7c75ecf7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
18 deletions
+16
-18
software/django/buildout.hash.cfg
software/django/buildout.hash.cfg
+1
-1
software/django/instance.cfg.in
software/django/instance.cfg.in
+2
-6
software/django/software.cfg
software/django/software.cfg
+13
-11
No files found.
software/django/buildout.hash.cfg
View file @
fd080a5a
[instance]
filename = instance.cfg.in
md5sum =
e8cb73e18d2ca8246bf73fbc56cc95d
a
md5sum =
03c83699100659d0aab0621baf43ace
a
software/django/instance.cfg.in
View file @
fd080a5a
...
...
@@ -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}
software/django/software.cfg
View file @
fd080a5a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment