software.cfg 2.02 KB
Newer Older
1
[buildout]
Ivan Tyagov's avatar
Ivan Tyagov committed
2
versions = versions
3 4 5 6
extends =
  ../../component/wendelin.core/buildout.cfg
  ../../component/msgpack-python/buildout.cfg
  ../../component/scipy/buildout.cfg
7
  ../../software/erp5/software.cfg
8 9 10 11 12 13
parts +=
  wendelin
  scipy
  msgpack-python
  ipython
  wendelin.core
14
  ipython-notebook
15 16
  wendelin_test_suite_runner
  wendelin_testrunner
17 18 19

[eggs]
initialization =
20
  import scipy.spatial.ckdtree # load our own libstdc++ explicitly at the very beginning
21 22 23
extra-paths +=
  ${wendelin:location}
eggs +=
24
  astor
25 26 27 28
  ${scipy:egg}
  ${msgpack-python:egg}
  ${wendelin.core:egg}
  ${ipython:egg}
29 30 31 32 33 34 35 36 37 38
  
[generic_testrunner_init]
initialization = 
  # The 4 lines below will replace the process with another one, with the proper
  # LD_PRELOAD environment variable. This is necessary because LD_PRELOAD is only
  # taken into account when the process starts. Modifying it in runtime doesn't
  # work.
  import struct, os
  arch = 8 * struct.calcsize("P")
  rerun = not os.getenv('LD_PRELOAD')
39
  if rerun: os.environ['LD_PRELOAD'] = '''${gcc:location}/lib%s/libstdc++.so''' % arch
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
  if rerun: os.execve(os.path.realpath(__file__), sys.argv, os.environ)
  
[wendelin_test_suite_runner]
<= test_suite_runner
# we need to override the test suite runner to add our custom libstdc++ dynamic
# library to the path
initialization =
  ${generic_testrunner_init:initialization}
  ${test_suite_runner:initialization}
  
[wendelin_testrunner]
<= testrunner
# we need to override the test suite runner to add our custom libstdc++ dynamic
# library to the path
initialization =
  ${generic_testrunner_init:initialization}
  ${testrunner:initialization}
 
58 59 60 61 62 63 64
[erp5_repository_list]
repository_id_list += wendelin

[local-bt5-repository]
# we need to override it
list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap ${wendelin:location}/bt5/

65 66 67 68
# Jupyter is by default enabled in Wendelin
[erp5-defaults]
jupyter-enable-default = true

69 70
[wendelin]
<= erp5
71
repository = https://lab.nexedi.com/nexedi/wendelin.git
72
branch = master
Ivan Tyagov's avatar
Ivan Tyagov committed
73 74

[versions]
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
75
msgpack-python = 0.4.8
76
wendelin.core = 0.9