Commit 93d53d04 authored by Jérome Perrin's avatar Jérome Perrin

erp5: precompile eggs during software build

Uses https://pypi.org/project/plone.recipe.precompiler to create pyc
files in software, as the user installing software.
This solves the issue that no pyc where created when using slapos on
"bare metal", ie running zope as a different user than the one owning
the software (from unix file permission point of view)
parent af6d7045
......@@ -110,6 +110,7 @@ parts +=
# Buildoutish
eggs
eggs-all-scripts
eggs-precompile
testrunner
test_suite_runner
......@@ -602,6 +603,11 @@ eggs =
munnel
patch-binary = ${eggs:patch-binary}
[eggs-precompile]
recipe = plone.recipe.precompiler
eggs = ${eggs:eggs}
extra-paths = ${eggs:extra-paths}
[zodbanalyze]
recipe = zc.recipe.egg
eggs = erp5.util
......@@ -804,3 +810,5 @@ unidiff = 0.5.5
# deepdiff = 3.3.0
jsonpickle = 0.9.6
decorator = 4.3.0
plone.recipe.precompiler = 0.6
\ No newline at end of file
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