Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

setup.py fails on windows du to no icu-config binary #44

Closed
amynbe opened this issue Mar 3, 2017 · 7 comments
Closed

setup.py fails on windows du to no icu-config binary #44

amynbe opened this issue Mar 3, 2017 · 7 comments

Comments

@amynbe
Copy link

amynbe commented Mar 3, 2017

The following line:

ICU_VERSION = subprocess.check_output(('icu-config', '--version')).strip()

( 81830b3#diff-2eeaed663bd0d25b7e608891384b7298R11 )

Fails on windows for which an icu-config exe doesn't exist (the icu win binaries include a bunch of dll and exe files but no icu-config).

@ovalhub
Copy link
Owner

ovalhub commented Mar 3, 2017 via email

@amynbe
Copy link
Author

amynbe commented Mar 4, 2017

Hi Andi,
Thanks for the answer. A windows distribution of icu-config doesn't exist, so I think this needs a code fix. Installation through pip is broken at the moment.

@ovalhub
Copy link
Owner

ovalhub commented Mar 4, 2017 via email

@amynbe
Copy link
Author

amynbe commented Mar 4, 2017

After a long internet search I'm pretty sure there's no icu-config for windows.
However there's uconv -V:
http://stackoverflow.com/questions/26733346/how-to-know-what-version-of-icu-comes-with-an-os

@ovalhub
Copy link
Owner

ovalhub commented Mar 8, 2017 via email

@ovalhub
Copy link
Owner

ovalhub commented Mar 21, 2017

Added check for an ICU_VERSION environment variable to be set before calling icu-config.
Added an error message asking for ICU_VERSION env var to be set when calling icu-config fails.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants