-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
executable file
·88 lines (77 loc) · 3.77 KB
/
buildout.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
################################################################################
# MINITAGE LIBRARY PROJECT BUILDOUT
################################################################################
[buildout]
extensions=buildout.minitagificator
eggs-directory=../../eggs/cache
develop-eggs-directory=../../eggs/develop-eggs
versions = versions
#parts = part ez v
parts = part virtualenv
hooks-directory = ${buildout:directory}/hooks
[versions]
[part]
recipe = minitage.recipe.cmmi
#we use a checkouted version of the 2.6 branch to have plenty of darwin bugs related resolved.
url =http://python.org/ftp/python/2.6.8/Python-2.6.8.tgz
md5sum = f6c1781f5d73ab7dfa5181f43ea065f6
patches = ${buildout:directory}/patches/python-without-tk.diff
# this patch consists in disabling include and libraries path autosearch to avoid conflicts with already setted flags by minitage
${buildout:directory}/patches/minitage-flags.diff
# see http://bugs.python.org/issue1777412
# handle date < 1900
${buildout:directory}/patches/strftime-pre-1900.patch
# enable db48 (http://selfsolved.com/problems/building-bsddbso-for-python)
${buildout:directory}/patches/db48.patch
force-osx-target=true
configure-options = --enable-ipv6 --with-fpectl --enable-shared --with-bz2 --with-ncurses --with-readline --with-zlib --enable-unicode=ucs4
configure-options-replace-cygwin = --disable-ipv6 --without-fpectl --enable-shared --with-bz2 --with-ncurses --with-readline --with-zlib --enable-unicode=ucs4
pre-configure-hook = ${buildout:hooks-directory}/setenv.py:patchincludes
pre-make-hook = ${buildout:hooks-directory}/setenv.py:patchincludes
pending-make-install-hook = ${buildout:hooks-directory}/setenv.py:patchincludes
darwin-patches=${buildout:directory}/patches/patch-readlinefix.diff
cygwin-patches=
#official cygwin patches from https://cygwin-ports.svn.sourceforge.net
${buildout:directory}/patches/cygwin_ctypes.patch
${buildout:directory}/patches/cygwin_ctypes2.patch
${buildout:directory}/patches/cygwin_dbm.patch
${buildout:directory}/patches/cygwin_oss.patch
${buildout:directory}/patches/cygwin_ssl.patch
# upgrade sys recursion limit and remove libm and libdl for cygwin
${buildout:directory}/patches/cygwin_stack.patch
# add minitage libraries and includes directory to their respective search path
${buildout:directory}/patches/cygwin_modules.patch
path-cygwin=${buildout:directory}/__minitage__part__tmp/Python-2.6.4
libraries-cygwin=gdi32 comdlg32 user32 kernel32 advapi32 shell32 dl
cflags-freebsd = -DTHREAD_STACK_SIZE=0x100000
[ez]
executable = ${buildout:directory}/parts/part/bin/python
recipe = minitage.recipe.du
url = file://${buildout:directory}/distribute-0.6.35.tar.gz
site-packages=${buildout:directory}/parts/part/lib/python2.6/site-packages
includes =
${part:location}/include
library-dirs =
${part:location}/lib
rpath =
${ez:library-dirs}
[virtualenv]
executable = ${buildout:directory}/parts/part/bin/python
recipe = minitage.recipe.du
url = file://${buildout:directory}/virtualenv-1.9.1.tar.gz
site-packages=${buildout:directory}/parts/part/lib/python2.6/site-packages
includes =
${part:location}/include
library-dirs =
${part:location}/lib
rpath =
${virtualenv:library-dirs}
[v]
recipe =plone.recipe.command
update-command=${v:command}
command=
${part:location}/bin/python -c 'from setuptools.command.easy_install import main; main()' -f ${buildout:directory} -H NONE -ZU "distribute>=0.7";
${part:location}/bin/python -c 'from setuptools.command.easy_install import main; main()' -f ${buildout:directory} -H NONE -ZU "setuptools>=0.7";
${part:location}/bin/python -c 'from setuptools.command.easy_install import main; main()' -f ${buildout:download-directory}/dist -ZU virtualenv;
[mirrors]
minitage=distfiles.minitage.org/public/externals