mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Fix the python3 directory so scripts work on Win32 (#6472)
The get.py renamer uses some logic which results in the Win32 extracted directory always ending up as `tools/python` and not `tools/python3`. Adjust the zip archive and title to work around this (and the IDE proper) issue.
This commit is contained in:
parent
d04f768954
commit
901410fa00
@ -127,7 +127,7 @@
|
|||||||
{
|
{
|
||||||
"packager": "esp8266",
|
"packager": "esp8266",
|
||||||
"version": "3.7.2-post1",
|
"version": "3.7.2-post1",
|
||||||
"name": "python"
|
"name": "python3"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"help": {
|
"help": {
|
||||||
@ -142,17 +142,17 @@
|
|||||||
"systems": [
|
"systems": [
|
||||||
{
|
{
|
||||||
"host": "x86_64-mingw32",
|
"host": "x86_64-mingw32",
|
||||||
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/python-3.7.2.post1-embed-win32v2a.zip",
|
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/python3-3.7.2.post1-embed-win32v2a.zip",
|
||||||
"archiveFileName": "python-3.7.2.post1-embed-win32v2a.zip",
|
"archiveFileName": "python3-3.7.2.post1-embed-win32v2a.zip",
|
||||||
"checksum": "SHA-256:8eb71cd637c42abbeea9f31912bbaca22222405d8624ace8901c801519321d35",
|
"checksum": "SHA-256:f57cb2daf86176d2929e7c58990c2ac32554e3219d454dcac10e464ddda35bf2",
|
||||||
"size": "6481988"
|
"size": "6428926"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"host": "i686-mingw32",
|
"host": "i686-mingw32",
|
||||||
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/python-3.7.2.post1-embed-win32v2a.zip",
|
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/2.5.0-4/python3-3.7.2.post1-embed-win32v2a.zip",
|
||||||
"archiveFileName": "python-3.7.2.post1-embed-win32va2.zip",
|
"archiveFileName": "python3-3.7.2.post1-embed-win32va2.zip",
|
||||||
"checksum": "SHA-256:8eb71cd637c42abbeea9f31912bbaca22222405d8624ace8901c801519321d35",
|
"checksum": "SHA-256:f57cb2daf86176d2929e7c58990c2ac32554e3219d454dcac10e464ddda35bf2",
|
||||||
"size": "6481988"
|
"size": "6428926"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"host": "aarch64-linux-gnu",
|
"host": "aarch64-linux-gnu",
|
||||||
@ -359,4 +359,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,7 @@ compiler.objcopy.eep.extra_flags=
|
|||||||
compiler.elf2hex.extra_flags=
|
compiler.elf2hex.extra_flags=
|
||||||
|
|
||||||
## generate file with git version number
|
## generate file with git version number
|
||||||
## needs bash, git, and echo
|
## needs git
|
||||||
recipe.hooks.sketch.prebuild.pattern="{runtime.tools.python3.path}/python3" "{runtime.tools.signing}" --mode header --publickey "{build.source.path}/public.key" --out "{build.path}/core/Updater_Signing.h"
|
recipe.hooks.sketch.prebuild.pattern="{runtime.tools.python3.path}/python3" "{runtime.tools.signing}" --mode header --publickey "{build.source.path}/public.key" --out "{build.path}/core/Updater_Signing.h"
|
||||||
recipe.hooks.core.prebuild.pattern="{runtime.tools.python3.path}/python3" "{runtime.tools.makecorever}" --build_path "{build.path}" --platform_path "{runtime.platform.path}" --version "unix-{version}"
|
recipe.hooks.core.prebuild.pattern="{runtime.tools.python3.path}/python3" "{runtime.tools.makecorever}" --build_path "{build.path}" --platform_path "{runtime.platform.path}" --version "unix-{version}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user