Better notes on releasing

This commit is contained in:
James Bowman 2019-03-03 15:53:46 -08:00
parent 87fc2c1305
commit 06a02b74a1
1 changed files with 26 additions and 0 deletions

View File

@ -17,3 +17,29 @@ and there are included drivers for
Full documentation is at
[i2cdriver.com](http://i2cdriver.com).
How to release
--------------
To release Python:
rm -rf dist/*
python setup.py dist
twine upload/dist/*
To build the Windows installer:
On Linux cross-compile ``i2ccl``:
cd c
make -f win32/Makefile
On Windows build the GUI exeutable:
cd python\samples
pyinstaller --onefile --windowed --icon=../../images/i2cdriver.ico i2cgui.py
Then build the installer with NSIS:
cd nsis
go.bat