-
Notifications
You must be signed in to change notification settings - Fork 0
Building
barteklorenc edited this page Jul 1, 2023
·
8 revisions
- Python 3
- Clone source code.
git clone https://github.com/barteklorenc/SoftwareUpdater.git
- Run
compile.py
file.
py compile.py
- Python 3
- Python packages in
requirements.txt
file
You can install them using following command.
pip install -r requirements.txt
- PyInstaller
You can install it using following command.
pip install pyinstaller
- Clone source code.
git clone https://github.com/slonindyjski/SoftwareUpdater.git
- Compile using PyInstaller.
pyinstaller --noconsole --onefile --windowed --icon="img/elephant.ico" --hidden-import=customtkinter --hidden-import=PIL --hidden-import=requests --add-data="img;img/" --add-data="<CUSTOMTKINTER_PATH>;customtkinter/" SoftwareUpdater.py
- Replace
<CUSTOMTKINTER_PATH>
with the path of customtkinter. You can check it usingpip show customtkinter
, it will display location addcustomtkinter
to it.
- You should have
SoftwareUpdater.exe
file indist
folder.
- NSIS
- Clone source code.
git clone https://github.com/slonindyjski/SoftwareUpdater.git
- Compile NSIS script.
makensis setup.nsi
- You should have
SoftwareUpdaterSetup.exe
file indist
folder.