qurator-spk / sbb_textline_detection

Detect textlines in document images
Apache License 2.0
88 stars 18 forks source link

🐛 sbb_textline_detection: Fix qurator namespace #57

Closed mikegerber closed 3 years ago

mikegerber commented 3 years ago

Set namespace_packages in setup.py. This fixes installation problems reported by @kba.

I have no idea why this does not happen with my installation tests on Python 3.7. I don't know what I am doing, but this fixes it.

mikegerber commented 3 years ago

Note that the installation problem happend when installing sbb_textline_detection and eynollah in the Docker build, I suspect problems manifesting when installing the packages, sharing the namespace and only on Python 3.6, not 3.7.

mikegerber commented 3 years ago

eynollah installed a ...-nspkg.pth file in site-packages and sbb_textline_detection did not

mikegerber commented 3 years ago

Note that the installation problem happend when installing sbb_textline_detection and eynollah in the Docker build, I suspect problems manifesting when installing the packages, sharing the namespace and only on Python 3.6, not 3.7.

I also tried a Python 3.6 venv now and I could not reproduce :-) Maybe it just happens on Ubuntu 😜