Mi Band 4\5\6 watchface preview tool for Linux (Python3 + Qt5)
|
|
2 gadi atpakaļ | |
|---|---|---|
| .idea | 2 gadi atpakaļ | |
| debian | 2 gadi atpakaļ | |
| mibandpreview | 2 gadi atpakaļ | |
| mibandpreview_qt | 2 gadi atpakaļ | |
| scripts | 3 gadi atpakaļ | |
| tools | 3 gadi atpakaļ | |
| .gitignore | 3 gadi atpakaļ | |
| LICENSE.txt | 4 gadi atpakaļ | |
| MANIFEST.in | 3 gadi atpakaļ | |
| Makefile | 3 gadi atpakaļ | |
| README.md | 3 gadi atpakaļ | |
| requirements.txt | 2 gadi atpakaļ | |
| setup.cfg | 4 gadi atpakaļ | |
| setup.py | 3 gadi atpakaļ |
Mi Band watchface preview generator library and Qt5 GUI written in Python3
Features:
Just add my Ubuntu package archive and install application from them:
sudo add-apt-repository ppa:melianmiko/software
sudo apt update
sudo apt install mibandpreview
Install from AUR:
# You need Yay tool
yay -S mibandpreview-git
To build everything and install:
make
sudo make install
To make deb-package
dpkg-buildpackage -b
Requirements:
MSYS2 configuration
# Update everything
pacman -Suy
# Install dependencies
pacman -S git mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-pip mingw-w64-x86_64-python-pillow mingw-w64-x86_64-nsis make mingw-w64-x86_64-python-certifi mingw-w64-x86_64-python-pyqt5 mingw-w64-x86_64-qt5-tools
pip install pyinstaller
# Add MinGW64 tools to path
echo "export PATH=$PATH:/mingw64/bin" > ~/.bashrc
Then run build
make
make windows
Build artifacts will be located in dist folder.
To build an installer, use nsis with dist/installer.nsi script.
⚠ Python3 package doesn't provide desktop icons. This installation method should be used only if you want to use this package as part of your own python application. If you need this package as desktop application, use Linux installation method.
Just install package from pip repository:
pip3 install mibandpreview
Apache 2.0