利用者:Kazanbas/Building Blender with Python 3.0

提供: wiki
移動先: 案内検索

Build Blender with Python 3.0 on Debian GNU/Linux. With the help of ideasman_42 and jesterKing.

  • get Python 3.0.1 source, build it specifying the installation dir to the ./configure script with --prefix. E.g.
./configure --prefix=/home/me/src/py3
make CFLAGS="-O0 -g3 -ggdb3 -fno-inline"
  • build Blender with:
scons BF_DEBUG=true BF_PYTHON_VERSION='3.0' BF_PYTHON='[python 3.0 installation dir]' \
WITH_BF_STATICPYTHON=1 CCFLAGS="-I[python 3.0 installation dir]/include/python3.0" \
BF_PYTHON_LIB_STATIC='python3.0'

replacing text in [] with your own values.