On Mon, Feb 18, 2013 at 6:08 AM, Stephen Swaney <[email protected]> wrote: > On Sun, Feb 17, 2013 at 06:24:08PM +0100, Bastien Montagne wrote: > >> My problem is rather simple: I want to use enchant module from within >> Blender! :) > ... >> I wonder whether it would be possible to add system's python path to >> Blender's one (as e.g. a build option)? Or add enchant into copied >> modules (I guess we do not want that :p )? Or should I just rely on a >> ugly hack, like adding another setting to my code, containing the path >> to my /usr/lib/python3/dist-package dir? > > One solution would be similar to what Python itself does: run a known > file at startup to add whatever local paths and initialization needs > to be done. > > In python's case (on linux), it uses /etc/pythonstartup. We could put > something in our blender config folder. > > -- > Stephen Swaney [email protected]
Talked with Bastien on IRC, in this case its probably easiest to remove the bundled python and so blender falls back to the systems python - making all its modules available too. http://www.blender.org/documentation/blender_python_api_2_65_release/info_tips_and_tricks.html#bundled-python-extensions _______________________________________________ Bf-python mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-python
