mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Python3: enable pip and included setuptools
This commit is contained in:
parent
c1085d6ffd
commit
45e3a30dd8
@ -42,7 +42,7 @@ PKG_CONFIGURE_OPTS_HOST="ac_cv_prog_HAS_HG=/bin/false
|
|||||||
--with-doc-strings
|
--with-doc-strings
|
||||||
--with-system-ffi
|
--with-system-ffi
|
||||||
--without-pymalloc
|
--without-pymalloc
|
||||||
--without-ensurepip
|
--with-ensurepip=no
|
||||||
"
|
"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_prog_HAS_HG=/bin/false
|
||||||
@ -99,8 +99,9 @@ post_make_host() {
|
|||||||
post_makeinstall_host() {
|
post_makeinstall_host() {
|
||||||
ln -sf ${PKG_PYTHON_VERSION} ${TOOLCHAIN}/bin/python
|
ln -sf ${PKG_PYTHON_VERSION} ${TOOLCHAIN}/bin/python
|
||||||
|
|
||||||
|
${TOOLCHAIN}/bin/python -m ensurepip --altinstall
|
||||||
|
|
||||||
rm -f ${TOOLCHAIN}/bin/smtpd.py*
|
rm -f ${TOOLCHAIN}/bin/smtpd.py*
|
||||||
rm -f ${TOOLCHAIN}/bin/pyvenv
|
|
||||||
rm -f ${TOOLCHAIN}/bin/pydoc*
|
rm -f ${TOOLCHAIN}/bin/pydoc*
|
||||||
|
|
||||||
rm -fr ${PKG_BUILD}/.${HOST_NAME}/build/temp.*
|
rm -fr ${PKG_BUILD}/.${HOST_NAME}/build/temp.*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user