diff options
| author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-11 21:49:45 +0100 |
|---|---|---|
| committer | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-11 21:49:45 +0100 |
| commit | 8121c0873d2b496440487be5cb3e5e499b60b8ae (patch) | |
| tree | a62b8a687926aa37d7ed3c315f8976071d7011b2 /testing/py3-gitpython/APKBUILD | |
| parent | ee17634eb81b78f023f7e7acbc4102160ad68939 (diff) | |
| download | aports-8121c0873d2b496440487be5cb3e5e499b60b8ae.tar.bz2 aports-8121c0873d2b496440487be5cb3e5e499b60b8ae.tar.xz | |
community/py3-distro: add missing dependency
Before this change:
$ sudo apk add py3-distro
✂
$ distro --help
Traceback (most recent call last):
File "/usr/bin/distro", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
After this change:
$ sudo apk add py3-distro
✂
$ distro --help
usage: distro [-h] [--json]
✂
The above commands were run inside docker-abuild with `dabuild sh`.
The change is required because `/usr/bin/distro` includes the line:
from pkg_resources import load_entry_point
That means that py3-setuptools is required at runtime:
$ python3 -c 'import pkg_resources; print(pkg_resources.__file__)'
/usr/lib/python3.8/site-packages/pkg_resources/__init__.py
$ apk info -q -W /usr/lib/python3.8/site-packages/pkg_resources/__init__.py
py3-setuptools
Diffstat (limited to 'testing/py3-gitpython/APKBUILD')
0 files changed, 0 insertions, 0 deletions
