diff options
| author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-12 10:12:45 +0100 |
|---|---|---|
| committer | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-12 10:28:46 +0100 |
| commit | fa3110cd954ec28919f1c4c2525d68bd16e424ef (patch) | |
| tree | 9d294bb0a13af2a98c0b2e0677ac1c54aedaa684 /testing/py3-gitpython | |
| parent | 9af72b19675b1be5e4f838b5dc97b5fa4d7211d0 (diff) | |
| download | aports-fa3110cd954ec28919f1c4c2525d68bd16e424ef.tar.bz2 aports-fa3110cd954ec28919f1c4c2525d68bd16e424ef.tar.xz | |
main/py3-wheel: add missing dependency
Before this change:
$ dabuild sh
$ sudo apk add py3-wheel >/dev/null && wheel --help
Traceback (most recent call last):
File "/usr/bin/wheel", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
This change adds py3-setuptools as a runtime dependency because pkg_resources is
imported by a file installed into /usr/bin/:
$ grep pkg_resources /usr/bin/wheel
from pkg_resources import load_entry_point
pkg_resources is part of py3-setuptools:
$ apk info -L py3-setuptools | grep pkg_resources/__init__.py
usr/lib/python3.8/site-packages/pkg_resources/__init__.py
After this change:
$ dabuild sh
$ sudo apk add py3-wheel >/dev/null && wheel -h
usage: wheel [-h] {unpack,pack,convert,version,help} ...
positional arguments:
{unpack,pack,convert,version,help}
commands
unpack Unpack wheel
pack Repack wheel
convert Convert egg or wininst to wheel
version Print version and exit
help Show this help
optional arguments:
-h, --help show this help message and exit
Diffstat (limited to 'testing/py3-gitpython')
0 files changed, 0 insertions, 0 deletions
