Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Carlos Ramos Carreño
erp5
Commits
2b5dbf18
Commit
2b5dbf18
authored
Jan 19, 2017
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack.erp5: Set matplotlib backend to agg.
parent
651e4dd3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
3 deletions
+18
-3
component/matplotlib/buildout.cfg
component/matplotlib/buildout.cfg
+12
-1
component/matplotlib/matplotlibrc.in
component/matplotlib/matplotlibrc.in
+1
-0
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+3
-2
stack/erp5/instance-zope.cfg.in
stack/erp5/instance-zope.cfg.in
+1
-0
stack/erp5/instance.cfg.in
stack/erp5/instance.cfg.in
+1
-0
No files found.
component/matplotlib/buildout.cfg
View file @
2b5dbf18
...
@@ -8,6 +8,17 @@ extends =
...
@@ -8,6 +8,17 @@ extends =
parts =
parts =
matplotlib
matplotlib
[matplotlibrc]
recipe = slapos.recipe.template:jinja2
location = ${buildout:parts-directory}/${:_buildout_section_name_}
template = ${:_profile_base_location_}/matplotlibrc.in
rendered = ${matplotlibrc:location}/matplotlibrc
mode = 0644
md5sum = 849f48f08bea21dd10d3825867cb1561
backend = agg
context =
key backend matplotlibrc:backend
[matplotlib-env]
[matplotlib-env]
<= numpy-env
<= numpy-env
PATH = ${pkgconfig:location}/bin:%(PATH)s
PATH = ${pkgconfig:location}/bin:%(PATH)s
...
@@ -22,4 +33,4 @@ setup-eggs = ${numpy:egg}
...
@@ -22,4 +33,4 @@ setup-eggs = ${numpy:egg}
rpath =
rpath =
${libpng:location}/lib
${libpng:location}/lib
${freetype:location}/lib
${freetype:location}/lib
need-matplotlibrc = ${matplotlibrc:location}
component/matplotlib/matplotlibrc.in
0 → 100644
View file @
2b5dbf18
backend : {{ backend }}
\ No newline at end of file
stack/erp5/buildout.cfg
View file @
2b5dbf18
...
@@ -234,7 +234,7 @@ recipe = slapos.recipe.template:jinja2
...
@@ -234,7 +234,7 @@ recipe = slapos.recipe.template:jinja2
# XXX: "template.cfg" is hardcoded in instanciation recipe
# XXX: "template.cfg" is hardcoded in instanciation recipe
rendered = ${buildout:directory}/template.cfg
rendered = ${buildout:directory}/template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
template = ${:_profile_base_location_}/instance.cfg.in
md5sum =
83aaa4def66c5667049c1fd025949125
md5sum =
75726622fbbb25a4d044a4f3532df479
mode = 640
mode = 640
context =
context =
key mariadb_link_binary template-mariadb:link-binary
key mariadb_link_binary template-mariadb:link-binary
...
@@ -283,6 +283,7 @@ context =
...
@@ -283,6 +283,7 @@ context =
key logrotate_location logrotate:location
key logrotate_location logrotate:location
key mariadb_location mariadb:location
key mariadb_location mariadb:location
key mariadb_resiliency_after_import_script mariadb-resiliency-after-import-script:target
key mariadb_resiliency_after_import_script mariadb-resiliency-after-import-script:target
key matplotlibrc_location matplotlibrc:location
key mesa_location mesa:location
key mesa_location mesa:location
key openssl_location openssl:location
key openssl_location openssl:location
key pixman_location pixman:location
key pixman_location pixman:location
...
@@ -341,7 +342,7 @@ md5sum = b0cb0ee97cddc79112a718e065806037
...
@@ -341,7 +342,7 @@ md5sum = b0cb0ee97cddc79112a718e065806037
[template-zope]
[template-zope]
<= download-base
<= download-base
filename = instance-zope.cfg.in
filename = instance-zope.cfg.in
md5sum =
c42bb374f41654433fb9470c1d4e4483
md5sum =
44773d69f85b605176f16df7d7bb8d97
link-binary =
link-binary =
${aspell:location}/bin/aspell
${aspell:location}/bin/aspell
${dmtx-utils:location}/bin/dmtxwrite
${dmtx-utils:location}/bin/dmtxwrite
...
...
stack/erp5/instance-zope.cfg.in
View file @
2b5dbf18
...
@@ -194,6 +194,7 @@ environment =
...
@@ -194,6 +194,7 @@ environment =
PATH=${directory:bin}:{{ parameter_dict['coreutils'] }}/bin
PATH=${directory:bin}:{{ parameter_dict['coreutils'] }}/bin
TZ={{ slapparameter_dict['timezone'] }}
TZ={{ slapparameter_dict['timezone'] }}
INSTANCE_HOME=${directory:instance}
INSTANCE_HOME=${directory:instance}
MATPLOTLIBRC={{ parameter_dict['matplotlibrc'] }}
parameters-extra = true
parameters-extra = true
command-line = '{{ parameter_dict['userhosts'] }}' '{{ bin_directory }}/runzope' -C '${:configuration-file}'
command-line = '{{ parameter_dict['userhosts'] }}' '{{ bin_directory }}/runzope' -C '${:configuration-file}'
...
...
stack/erp5/instance.cfg.in
View file @
2b5dbf18
...
@@ -125,6 +125,7 @@ userhosts = {{ userhosts_location }}
...
@@ -125,6 +125,7 @@ userhosts = {{ userhosts_location }}
site-zcml = {{ site_zcml }}
site-zcml = {{ site_zcml }}
template-monitor = {{ dumps(template_monitor) }}
template-monitor = {{ dumps(template_monitor) }}
extra-path-list = {{ dumps(extra_path_list) }}
extra-path-list = {{ dumps(extra_path_list) }}
matplotlibrc = {{ matplotlibrc_location }}
[dynamic-template-zope]
[dynamic-template-zope]
<= jinja2-template-base
<= jinja2-template-base
...
...
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