forked from bartvdbraak/blender
Deps: Python, install Cython package
Cython was already bundled with Blender's libraries in SVN (as dependency of Numpy, see rB5bddfde217b1), but was never actually installed in the CMake install step. As a result, `import cython` would fail. This is now fixed.
This commit is contained in:
parent
282516e53e
commit
ab1909fe06
@ -639,6 +639,18 @@ if(UNIX AND NOT APPLE)
|
|||||||
PATTERN "*.h" EXCLUDE # some includes are not in include dirs
|
PATTERN "*.h" EXCLUDE # some includes are not in include dirs
|
||||||
PATTERN "*.a" EXCLUDE # ./core/lib/libnpymath.a - for linking, we don't need.
|
PATTERN "*.a" EXCLUDE # ./core/lib/libnpymath.a - for linking, we don't need.
|
||||||
)
|
)
|
||||||
|
install(
|
||||||
|
DIRECTORY ${PYTHON_NUMPY_PATH}/Cython
|
||||||
|
DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix}
|
||||||
|
PATTERN ".svn" EXCLUDE
|
||||||
|
PATTERN "__pycache__" EXCLUDE # * any cache *
|
||||||
|
PATTERN "*.pyc" EXCLUDE # * any cache *
|
||||||
|
PATTERN "*.pyo" EXCLUDE # * any cache *
|
||||||
|
)
|
||||||
|
install(
|
||||||
|
FILES ${PYTHON_NUMPY_PATH}/cython.py
|
||||||
|
DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix}
|
||||||
|
)
|
||||||
unset(_suffix)
|
unset(_suffix)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user