mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
msys2: Remove python version consideration in pacman commands
This commit is contained in:
committed by
Angus Gratton
parent
a972d3018c
commit
83d6ab9b5f
@ -75,7 +75,7 @@ if __name__ == "__main__":
|
|||||||
elif sys.platform == "win32" and os.environ.get("MSYSTEM", None) == "MINGW32" and "/mingw32/bin/python" in sys.executable:
|
elif sys.platform == "win32" and os.environ.get("MSYSTEM", None) == "MINGW32" and "/mingw32/bin/python" in sys.executable:
|
||||||
print("The recommended way to install a packages is via \"pacman\". Please run \"pacman -Ss <package_name>\" for"
|
print("The recommended way to install a packages is via \"pacman\". Please run \"pacman -Ss <package_name>\" for"
|
||||||
" searching the package database and if found then "
|
" searching the package database and if found then "
|
||||||
"\"pacman -S mingw-w64-i686-python{}-<package_name>\" for installing it.".format(sys.version_info[0],))
|
"\"pacman -S mingw-w64-i686-python-<package_name>\" for installing it.")
|
||||||
print("NOTE: You may need to run \"pacman -Syu\" if your package database is older and run twice if the "
|
print("NOTE: You may need to run \"pacman -Syu\" if your package database is older and run twice if the "
|
||||||
"previous run updated \"pacman\" itself.")
|
"previous run updated \"pacman\" itself.")
|
||||||
print("Please read https://github.com/msys2/msys2/wiki/Using-packages for further information about using "
|
print("Please read https://github.com/msys2/msys2/wiki/Using-packages for further information about using "
|
||||||
@ -90,7 +90,7 @@ if __name__ == "__main__":
|
|||||||
continue
|
continue
|
||||||
elif requirement.startswith('setuptools'):
|
elif requirement.startswith('setuptools'):
|
||||||
print("Please run the following command to install MSYS2's MINGW Python setuptools package:")
|
print("Please run the following command to install MSYS2's MINGW Python setuptools package:")
|
||||||
print("pacman -S mingw-w64-i686-python{}-setuptools".format(sys.version_info[0],))
|
print("pacman -S mingw-w64-i686-python-setuptools")
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
print('Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required'
|
print('Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required'
|
||||||
|
Reference in New Issue
Block a user