makefile and readme update

This commit is contained in:
jziolkowski
2020-09-21 16:29:27 +02:00
parent df4aac219f
commit 7a41d67216
2 changed files with 19 additions and 3 deletions

View File

@@ -16,10 +16,23 @@ clean:
@rm -f *.spec
@rm -rf __pycache__
@rm -rf build
@rm -rf dist
run: venv
. venv/bin/activate; \
python3 tasmotizer.py
python3 tasmotizer.py;
bdist:
@echo "building bdist_wheel..."
python3 setup.py sdist bdist_wheel;
test_publish: clean bdist
@echo "uploading to test pypi..."
python3 -m twine upload --repository testpypi dist/*;
publish: clean bdist
@echo "uploading to pypi..."
python3 -m twine upload dist/*;

View File

@@ -27,9 +27,12 @@ The full-featured flashing tool for Tasmota. With the great [ESPtool](https://gi
- Option 1: [get Windows standalone executable](https://github.com/tasmota/tasmotizer/releases) (thanks @Jason2866)<br/>
In the odd case of your antivirus going haywire over that application, it's a [false positive](https://github.com/pyinstaller/pyinstaller/issues/3802)._
- Option 2: `pip3 install tasmotizer` and then simply run `tasmotizer.py` from the shell/command line
- Option 2: Install from PyPI using pip:<br/>
Upgrade pip and wheel packages: `pip3 install --upgrade pip wheel`<br/>
Install tasmotizer: `pip3 install tasmotizer`
Then simply run `tasmotizer.py` from the shell/command line
- Option 3: Clone the repo, `pip3 install PyQt5 pyserial` followed by `python3 tasmotizer.py ` and flash away!
- Option 3: Clone the repo, `pip3 install -r requirements.txt` followed by `python3 tasmotizer.py ` and flash away!
## Screenshots