From e9fa70b101d78ecb0af454e40dafb6440f17eb6b Mon Sep 17 00:00:00 2001 From: zhangbin Date: Tue, 22 Apr 2014 15:55:27 +0800 Subject: [PATCH] Add tip message in setup.py for prompt the usage of some environment variable. --- setup.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.py b/setup.py index f374b2bb2f..31a4dc7d0b 100755 --- a/setup.py +++ b/setup.py @@ -600,6 +600,12 @@ class SetEnvVar(object): self.file_used_for_setup = self._get_filepath_for_setup() self.set_console_root() + + if self._isWindows(): + print('->Configuration for Android platform only, you can also skip and manually edit your environment variables\n') + else: + print('->Configuration for Android platform only, you can also skip and manually edit "%s"\n' % self.file_used_for_setup) + ndk_ret = self.set_variable(NDK_ROOT, ndk_root) sdk_ret = self.set_variable(ANDROID_SDK_ROOT, android_sdk_root) ant_ret = self.set_variable(ANT_ROOT, ant_root)