1
0
Fork 0
mirror of https://github.com/Luzifer/tasmota-build.git synced 2024-11-09 09:50:03 +00:00

Adjust README to python:3

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-07-05 18:56:01 +02:00
parent 429857d955
commit 7bb5af651f
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -12,7 +12,7 @@ Inside this repostitory there is a small build environment to automatically conf
- Define a `env` file for everything you are reading from the environment (Format: `VAR=VALUE`, one per line)
- Build the firmware
```bash
# docker run --rm -ti --env-file=env -e UID=$(id -u) -v $(pwd):/src -w /src python:2.7 make default clean chown
# docker run --rm -ti --env-file=env -e UID=$(id -u) -v $(pwd):/src -w /src python make default clean chown
```
Pay attention: When defining strings you need to wrap them in double quotes for the compiler to understand them as strings: `PARAM: '"mystring"'`. If you are defining numbers you will define them like this: `PARAM: '1'`. Constants are used like this: `PARAM: CONSTANT`.