Skip to content

Latest commit

 

History

History
67 lines (54 loc) · 1.01 KB

build.md

File metadata and controls

67 lines (54 loc) · 1.01 KB

Upload to pypi Flow

Vorbereitung / Installation

cd ~/workspace/venvs/homeassistant-oekofen
source bin/activate
pip install build
pip install twine

pypi settings

nano ~/.pypirc

Neue Version uploaden

cd ~/workspace/venvs/homeassistant-oekofen
source bin/activate
cd ~/workspace/src/oekofen-api

Push git changes

  • Neue Version in der setup.py eintragen 0.0.23
  • Mit git changes pushen!!

github Release erstellen

Anpassen in setup.py

nano setup.py
VERSION = "0.0.23"
cd ~/workspace/venvs/homeassistant-oekofen/
source bin/activate
cd ~/workspace/src/oekofen-api/

rm -rf dist
python3 -m build

Upload Test

twine upload -r testpypi dist/*

Upload Live

twine upload dist/*

Lokal updaten

pip install oekofen-api==0.0.23

Update homeassistant-oekofen

neue Version in der manifest.json anpassen