packages/lang/python/python3/files
Josef Schlehofer edb67906fa python3-setuptools: add _distutils_hack
I tried to install matplotlib by using pip and it failed with the following output:

2021-08-18T11:52:26,171 Collecting matplotlib
2021-08-18T11:52:26,173   Created temporary directory: /tmp/pip-unpack-wuth2u0e
2021-08-18T11:52:26,565   Using cached matplotlib-3.4.3.tar.gz (37.9 MB)
2021-08-18T11:52:38,659   Added matplotlib from https://files.pythonhosted.org/packages/21/37/           197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.                       gz#sha256=fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 to build tracker '/tmp/pip-   req-tracker-u30x8pht'
2021-08-18T11:52:38,660     Running setup.py (path:/tmp/pip-install-afiyiers/                            matplotlib_8e717e38862f4976a3d6cb1832ba3261/setup.py) egg_info for package matplotlib
2021-08-18T11:52:38,661     Created temporary directory: /tmp/pip-pip-egg-info-kbtiezxq
2021-08-18T11:52:38,662     Running command python setup.py egg_info
2021-08-18T11:52:38,831     Traceback (most recent call last):
2021-08-18T11:52:38,832       File "<string>", line 1, in <module>
2021-08-18T11:52:38,832       File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 8, in <module>
2021-08-18T11:52:38,833     ModuleNotFoundError: No module named '_distutils_hack'

More details about it:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968410

Once I applied the patch from the bug tracker, I got further to install
it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit feaaacc10fff283505ff261ed6886a4936fbe7f5)
2022-03-06 03:22:20 +08:00
..
config.site python: updte packages 2019-10-25 07:10:23 -07:00
python3-package-asyncio.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-cgi.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-codecs.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-ctypes.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-dbm.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-decimal.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-dev.mk packages: sync to new packages 2020-07-08 14:18:52 +08:00
python3-package-distutils.mk lang: bump version 2021-06-14 19:43:42 +08:00
python3-package-email.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-gdbm.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-lib2to3.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-logging.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-lzma.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-multiprocessing.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-ncurses.mk lang: bump version 2021-06-14 19:43:42 +08:00
python3-package-openssl.mk packages: sync to new packages 2020-07-08 14:18:52 +08:00
python3-package-pip.mk packages: sync to new packages 2020-07-08 14:18:52 +08:00
python3-package-pkg-resources.mk python3: bump version 2020-04-01 02:24:43 +08:00
python3-package-pydoc.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-readline.mk lang: bump version 2021-06-14 19:43:42 +08:00
python3-package-setuptools.mk python3-setuptools: add _distutils_hack 2022-03-06 03:22:20 +08:00
python3-package-sqlite3.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-unittest.mk first commit 2018-10-18 16:56:47 +08:00
python3-package-urllib.mk python: updte packages 2019-10-25 07:10:23 -07:00
python3-package-xml.mk python3: bump version 2020-04-01 02:24:43 +08:00