You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have spent some time investigating this. The list of files to install seems to be determined by Python tools like setuptools. I'm quite confused but and have not found any way to suppress this unfortunate behavior.
Maintainers are encouraged to delete unwanted files.
See commit 2f28d44 for the actual fix. I previously attempted this, but setuptools has some sort of build caching (mainly build/*) that would cause that fix to be ignored unless the cache was flushed.
The issue was that setuptools interpreted src/core as both a Python namespace package and an extension, so installed it twice.
An unfortunately side effect of this is also that pikepdf would create an empty library named core in site-packages. In older versions, an empty library named qpdf might be created.
When building from source, I am getting a
core
directory in the Python install, containing the.cpp
and.h
files.Additionally, if you unzip the wheels on PyPI, you can see that they include the usual
pikepdf
directory, plus an extracore
directory.For example:
The text was updated successfully, but these errors were encountered: