blender/config
Campbell Barton 8c9ade81e8 Make linux/scons default to python 3.1 rather then the version scons runs with.
for a while py2.x will work but eventually be dropped when most OS's support it, so Id recommend upgrading.

The following instructions are only needed if you don't use python3.1 installed in the default location.
For releases users wont have to worry about this.


# in python3.1 source dir, build and install into your own dir, /opt/py31 is just an example.
./configure --prefix="/opt/py31"; make; make install

# In the scons user-config.py...
BF_PYTHON = "/opt/py31"

# ... now build ... 
# 
# Blender now needs 2 things to run. ./lib/libpython3.1.so and the python modules.

# Symlink (or copy) python modules, blender sets this path for modules on startup if it is found.
ln -s /opt/py31/lib/python3.1 ~/.blender/python

# Currently static linking is not working without hacks because of limitations in scons.
# for releases we can workaround, but for now its easier to set an environment variable.
# To start blender so it can find libpython3.1.so make this into a shell script to save yourself typing it in all the time.
export LD_LIBRARY_PATH="/opt/py31/lib/"
./blender
2009-07-21 10:13:20 +00:00
..
darwin-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
irix6-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
linux2-config.py Make linux/scons default to python 3.1 rather then the version scons runs with. 2009-07-21 10:13:20 +00:00
linuxcross-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
openbsd3-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
sunos5-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
win32-mingw-config.py 2.5 - Optimisations for Keyframe Drawing in DopeSheet 2009-07-18 07:11:37 +00:00
win32-vc-config.py SCons 2009-07-16 19:41:28 +00:00
win64-vc-config.py * revert reversion by Genscher. This '/MT' business is now handled in Blender.py 2009-07-16 20:00:15 +00:00