Changeset View
Changeset View
Standalone View
Standalone View
source/creator/CMakeLists.txt
| Show First 20 Lines • Show All 587 Lines • ▼ Show 20 Lines | if(WITH_PYTHON_INSTALL) | ||||
| endif() | endif() | ||||
| install( | install( | ||||
| DIRECTORY ${PYTHON_REQUESTS_PATH}/requests | DIRECTORY ${PYTHON_REQUESTS_PATH}/requests | ||||
| DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix} | DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix} | ||||
| PATTERN ".svn" EXCLUDE | PATTERN ".svn" EXCLUDE | ||||
| PATTERN "__pycache__" EXCLUDE # * any cache * | PATTERN "__pycache__" EXCLUDE # * any cache * | ||||
| PATTERN "*.pyc" EXCLUDE # * any cache * | PATTERN "*.pyc" EXCLUDE # * any cache * | ||||
| PATTERN "*.pyo" EXCLUDE # * any cache * | PATTERN "*.pyo" EXCLUDE # * any cache * | ||||
| PATTERN "cacert.pem" EXCLUDE # for now we don't deal with security | |||||
| ) | ) | ||||
| # On some platforms requests does have extra dependencies. | # On some platforms requests does have extra dependencies. | ||||
| set(_requests_deps "chardet" "urllib3") | set(_requests_deps "chardet" "urllib3") | ||||
| foreach(_requests_dep ${_requests_deps}) | foreach(_requests_dep ${_requests_deps}) | ||||
| if(EXISTS ${PYTHON_REQUESTS_PATH}/${_requests_dep}) | if(EXISTS ${PYTHON_REQUESTS_PATH}/${_requests_dep}) | ||||
| install( | install( | ||||
| DIRECTORY ${PYTHON_REQUESTS_PATH}/${_requests_dep} | DIRECTORY ${PYTHON_REQUESTS_PATH}/${_requests_dep} | ||||
| DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix} | DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}/python${PYTHON_VERSION}/${_suffix} | ||||
| ▲ Show 20 Lines • Show All 529 Lines • Show Last 20 Lines | |||||