Add tip message in setup.py for prompt the usage of some environment variable.

This commit is contained in:
zhangbin 2014-04-22 15:55:27 +08:00
parent b3bc69fccc
commit e9fa70b101
1 changed files with 6 additions and 0 deletions

View File

@ -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)