Closed mara004 closed 2 years ago
@MerlijnWajer Any comments?
Sorry for the delay in reviewing (very busy month for me), thank you for doing this!
Looks like the github actions to build the package failed: https://github.com/internetarchive/archive-pdf-tools/actions/runs/1720375743 (the Cython stuff doesn't get built?)
I can take a look at that tomorrow.
Sorry about the CI failiure. Building locally worked for me, though. I'll look into it again to see if there's any obvious mistake.
Hmm, now after a fresh checkout I can reproduce the issue - it says No module named 'optimiser'
Oh, I think I found the cause. It's extracting the version that causes trouble. I thought the attr:
directive was supposed to get the version literally, but apparently it tries to import nevertheless, which fails because of the missing cython modules. I'll make a second PR to fix this.
setup.py
tosetup.cfg
, but kept some things insetup.py
where it makes sense>=
extras_require
option, which means optional dependencies can now be installed usingpip3 install .[optional_group_name]
, in this casepip3 install .[docs]