I try to make package for Arch Linux. Installed similar to
python setup.py install --prefix=/usr --root=/ --single-version-externally-managed
$ mcomix
Traceback (most recent call last):
File "/usr/bin/mcomix", line 33, in <module>
sys.exit(load_entry_point('mcomix==2.0.1', 'console_scripts', 'mcomix')())
File "/usr/lib/python3.10/site-packages/mcomix/run.py", line 161, in run
icons.load_icons()
File "/usr/lib/python3.10/site-packages/mcomix/icons.py", line 47, in load_icons
pixbufs = mcomix_icons()
File "/usr/lib/python3.10/site-packages/mcomix/icons.py", line 14, in mcomix_icons
pixbufs = [
File "/usr/lib/python3.10/site-packages/mcomix/icons.py", line 16, in <listcomp>
pkgutil.get_data('mcomix', 'images/%s/mcomix.png' % size)
File "/usr/lib/python3.10/pkgutil.py", line 639, in get_data
return loader.get_data(resource_name)
File "<frozen importlib._bootstrap_external="">", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.10/site-packages/mcomix/images/16x16/mcomix.png'</frozen></listcomp></module>
Python 3.10
PyCairo 1.21.0
Pillow 9.1.0
SF's parser broke traceback. Here is proper
It appears that somewhere along the road, setuptools made a breaking change to the package_data attribute in setup.py. This caused translation files and image resources not to be installed when "setup.py install" was used. The problem should be fixed now.