Commit 45f7cd31 authored by gsell's avatar gsell

Python: newer version of include pip

- no need to run get-pip.py
parent 8249d106
......@@ -56,8 +56,11 @@ pbuild::post_install() {
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python"
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python${V%.*}"
PATH+=":${PREFIX}/bin"
cd "${BUILDBLOCK_DIR}"
"${PREFIX}/bin/python" 'get-pip.py'
if (( V_MAJOR == 2 || (V_MAJOR == 3 && V_MINOR <= 7) )); then
cd "${BUILDBLOCK_DIR}"
"${PREFIX}/bin/python" 'get-pip.py'
fi
std::info "Building numpy\n"
pip${V_MAJOR} install numpy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment