This repository has been archived by the owner on Apr 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
setup.py fails on windows du to no icu-config binary #44
Comments
If you don't have that executable installed or findable vis PATH, plug the version of ICU version you hsve installed into the ICU_VERSION variable in place of the subprocess icu_config call.
Andi..
… On Mar 3, 2017, at 22:58, Amyn ***@***.***> wrote:
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).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi Andi, |
I think someone else had this issue on Windows and realized they hadn't installed icu-config. I don't have Windows to try this out. Please, ask on the ICU list what the deal is with icu-config on Windows and let me know what they say.
Thanks !
Andi..
… On Mar 4, 2017, at 21:21, Amyn ***@***.***> wrote:
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
After a long internet search I'm pretty sure there's no icu-config for windows. |
On Mar 8, 2017, at 18:05, Amyn ***@***.***> wrote:
Asked on the list -- no answer https://sourceforge.net/p/icu/mailman/icu-support/thread/CAJ%3DfZjP_8NyR_iLiQOVf3djfaJUyOvgKpG%2Bbbhzyz8zm2iL7fA%40mail.gmail.com/#msg35702166
Thank you, I asked some ICU devs and they didn't "think so" as they don't use Windows.
I'm going to change the logic in setup.py so that it checks for an ICU_VERSION env variable first and only calls icu-config if that env var is not set.
In the meantime, please edit setup.py to force the correct value into its ICU_VERSION var.
Andi..
… —
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Added check for an ICU_VERSION environment variable to be set before calling icu-config. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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).
The text was updated successfully, but these errors were encountered: