Ivan Grokhotkov
387dfd977a
tools: fix diagnostic output in check_python_dependencies.py
...
If IDF_PYTHON_ENV_PATH was not set, an exception occurred:
Traceback (most recent call last):
File "/home/user/esp/esp-idf/tools/check_python_dependencies.py", line 108, in <module>
if idf_python_env_path not in sys.executable:
TypeError: 'in <string>' requires string as left operand, not NoneType
and the final line in the diagnostic message was not printed.
Fix to print the PATH if IDF_PYTHON_ENV_PATH is not set.
2020-06-23 16:32:47 +02:00
Ivan Grokhotkov
46e9aef6c9
tools/check_python_dependencies: print diagnostic info on failure
...
Helps collect more data for cases such as:
https://github.com/espressif/esp-idf/issues/5133
2020-04-16 11:58:16 +02:00
Angus Gratton
c7209b110e
check_python_dependencies: If overriding requirements.txt path, provide a pip command line
...
Advice about install.sh/install.bat, etc only works for the default requirements.txt
2020-02-07 16:37:45 +11:00
Angus Gratton
a148d8e6ba
docs: Refactor extensions into packages, update the add-ons-reference docs page
...
Includes converting some of the remaining standalone scripts into Sphinx extensions.
Make flake8 clean
2020-02-07 16:37:43 +11:00
Roland Dobai
70b6f5397f
Fix Python requirement for setuptools
2019-11-04 16:18:37 +01:00
Roland Dobai
01887f71e7
Update kconfiglib to upstream version and replace mconf-idf
...
Special thanks to @ulfalizer for the helpful suggestions regarding
kconfiglib.
"rsource" option is available for relative path includes
Closes https://github.com/espressif/esp-idf/issues/4064
2019-10-29 10:40:04 +01:00
Ivan Grokhotkov
8d1a9c07a0
tools/check_python_dependencies: make aware of IDF_TOOLS_PATH
2019-05-24 17:04:23 +08:00
Sergei Silnov
0f61930872
python: Add check if current python is inside virtual environment
2019-01-08 12:21:33 +01:00
Roland Dobai
aca6e7b66a
tools: Be more helpful to MSYS32 users with package installation
2019-01-02 07:53:57 +01:00
Roland Dobai
f7281c75c7
tools: correct the coding style of check_python_dependencies.py
2018-11-30 13:43:28 +01:00
Roland Dobai
98bc172f58
tools: correct printed path on MS Win
2018-11-30 13:43:28 +01:00
Shivani Tipnis
e1774cb6f9
Update minimum version for cryptography package required
2018-11-19 11:13:37 +05:30
Roland Dobai
f59358dad3
idf.py: Import from pyserial after packages have been checked
...
Closes https://github.com/espressif/esp-idf/issues/2573
2018-10-25 08:38:00 +02:00
Angus Gratton
246a608db0
windows: Special check for some MSYS2 Python packages
...
MSYS2 MINGW requires some particular MSYS2-specific packages.
Closes https://github.com/espressif/esp-idf/issues/2480
Closes https://github.com/espressif/esp-idf/issues/2474
Closes https://github.com/espressif/esp-idf/issues/2486
2018-10-01 17:21:48 +10:00
Roland Dobai
c3d99dd2e4
Encourage to install python packages without administrative rights
...
Using 'sudo pip install' can cause a lot of problems because usually
there are a couple of Python interpreters installed. This fix encourages
developers to use `pip install --user` instead which is safer.
2018-09-11 08:54:37 +02:00
Roland Dobai
7cfef29eb8
Docs: Check Python packages
2018-08-30 13:20:42 +02:00
Roland Dobai
62cad3a7d7
Add python-future by using python requirements file
2018-08-23 08:28:57 +02:00