1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00
openwrt-packages/lang/python/python3/files
Jeffery To 6dac29693f python3-setuptools: Fix error when installing from source
When a Python package is installed from source (i.e. using setup.py)
into a custom location (with --home), setuptools may want to create a
site.py file in the custom location. This file is created based on the
source code of site-patch.py, a file bundled with setuptools.

Because the normal OpenWrt setuptools package does not contain Python
source code, this file is missing and the installation will end with an
error.

This copies site-patch.py to site-patch.py.txt so that it will be
included in python3-setuptools, and patches setuptools to look for this
file.

See https://github.com/openwrt/packages/issues/12223

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 70a7f736c5)
2020-05-21 20:15:24 +08:00
..
config.site python3: add override for uuid.h header check 2018-07-11 06:35:36 +02:00
python3-package-asyncio.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-cgi.mk python3: package CGI component 2017-10-31 13:45:29 +01:00
python3-package-codecs.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-ctypes.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-dbm.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-decimal.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-dev.mk python3: Fix host build tool names recorded in target files 2020-04-28 13:56:47 +08:00
python3-package-distutils.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-email.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-gdbm.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-lib2to3.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-logging.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-lzma.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-multiprocessing.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-ncurses.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-openssl.mk python3-openssl: Add dependency on ca-certs 2020-05-20 04:36:07 +08:00
python3-package-pip.mk python3-setuptools,python3-pip: Use more predictable pycache cleanup 2019-05-29 22:42:02 +08:00
python3-package-pkg-resources.mk python,python3: split python[3]-pkg-resources from setuptools 2020-01-10 18:57:16 +02:00
python3-package-pydoc.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-setuptools.mk python3-setuptools: Fix error when installing from source 2020-05-21 20:15:24 +08:00
python3-package-sqlite3.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-unittest.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00
python3-package-urllib.mk python3: split python3-urllib from python3-light 2019-02-26 15:37:48 +02:00
python3-package-xml.mk python packages: move all things python under lang/python 2017-05-17 16:51:14 +03:00