Library/Frameworks/amework/Versions/3.6/lib/python3.6/site-packages/ Windows copy bin\bpy.pyd C:\Python36\Lib\site-packages\Ĭopy bin\*.dll C:\Python36\Lib\site-packages\ĭel C:\Python36\Lib\site-packages\python36.dllĪfter compiling and "make install", copy needed files to your python framework cp. Once these optiosn are set, run: make installĪlternately you might want to use your user Python path (see ) $HOME/.local/lib/python3.6/site-packagesįor a local install use the following options: WITH_INSTALL_PORTABLE=ONĬMAKE_INSTALL_PREFIX=$HOME/.local/lib/python3.6/site-packages Note, PYTHON_SITE_PACKAGES will be used as the target path, but this is auto detected, nevertheless, you may want to modify. You may want install the module to the systems Python path, eg: /usr/lib/python3.6/site-packagesįor a system wide installation: WITH_INSTALL_PORTABLE=OFF BuildingĪssuming you have a CMake out-of-source build setup, see: Ĭhange these CMake options from the defaults: WITH_PYTHON_INSTALL=OFFĮverything should build as normal except in the cmake directory you will have. Get Python3.6-Framework from and install it. This is mainly limited to features which can be usable in background mode, so you cant for instance do OpenGL preview renders. development, accessing bpy from Python IDE's and debugging tools for example.importers, exporters (convert 3D file formats).video editing (using Blender's sequencer).image processing using Blender's compositor.This is a build option to be able to import blender into python and access its modules The option to build Blender as a Python module is not officially supported, in the sense isn't distributing it along with regular releases, Currently, its a build option you can enable, for your own use. However from the perspective of a Python developer, it can be useful to being Blender into your existing scripts and access its feature set. This makes sense from the perspective of a user, who's primary needs are to have an application which can be extended with scripts. The official embeds a Python interpreter (CPython 3.x). Here it is pulled from the archive.is (all Ideasman42 cited): Overview
0 Comments
Leave a Reply. |