Why does it install to /opt ?
$ pacman -Ql stapler
stapler /opt/
stapler /opt/stapler/
stapler /opt/stapler/CONTRIBUTORS
stapler /opt/stapler/LICENSE
stapler /opt/stapler/MANIFEST.in
stapler /opt/stapler/README.rst
stapler /opt/stapler/TODO
stapler /opt/stapler/poetry.lock
stapler /opt/stapler/pyproject.toml
stapler /opt/stapler/staplelib/
stapler /opt/stapler/staplelib/__init__.py
stapler /opt/stapler/staplelib/commands.py
stapler /opt/stapler/staplelib/iohelper.py
stapler /opt/stapler/staplelib/stapler.py
stapler /opt/stapler/staplelib/testfiles/
stapler /opt/stapler/staplelib/testfiles/1page.pdf
stapler /opt/stapler/staplelib/testfiles/5page.pdf
stapler /opt/stapler/staplelib/tests.py
stapler /opt/stapler/stapler
stapler /opt/stapler/tox.ini
stapler /usr/
stapler /usr/bin/
stapler /usr/bin/stapler
staple-git doesnt do this, https://aur.archlinux.org/packages/stapler-git Everything goes nicely into /usr/bin, /usr/share, /usr/lib/python..
Pinned Comments
PhCl commented on 2020-12-09 17:08 (UTC)
As python 3.8 was replaced by python 3.9, you could run into the following error:
To solve it, rebuild "python-pypdf2" and then "stapler". Then the directories for Python 3.9 should exist.