Getting ICU_VERSION in setup.py doesn't work on Ubuntu 19.04 with installed libicu-dev and pkg-config
Created by: MrYoda
icu-config
command was disappeared from new Debian/UBuntu ICU dev packages (e.g. 19.04). I think there is icuinfo
command instead of old icu-config
and it returns XML now.
Also, nested try-except block in setup.py
doesn't work too - it try not to execute pkg-config
after exception in icu-config
executing block.