mirror of
https://github.com/fmhy/dupe-checker.git
synced 2026-03-11 08:55:39 +00:00
Add build script
This commit is contained in:
parent
3951d4203b
commit
eb6b22a847
3 changed files with 43 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ cd fmhy-dupe-checker\
|
|||
[Python](https://www.python.org/downloads/) is required.
|
||||
|
||||
```bash
|
||||
pip install requests grequests PyQt5 pyperclip fake-headers darkdetect
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Run `FmhyChecker.pyw`
|
||||
|
|
|
|||
14
build.bat
Normal file
14
build.bat
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
:: Build script for compiled exe using nuitka
|
||||
|
||||
@prompt Executing:
|
||||
python -m nuitka --standalone --onefile --remove-output --assume-yes-for-downloads --disable-console --clean-cache=all --enable-plugin=pyqt5 --include-data-files=MainWindow.ui=MainWindow.ui --include-data-dir=assets=assets "--windows-icon-from-ico=%~dp0assets\icon.ico" FmhyChecker.pyw
|
||||
|
||||
@echo off
|
||||
if %errorlevel%==0 (
|
||||
echo.Complete&color 0a
|
||||
) else (
|
||||
echo.Failed with error code %errorlevel%&color 04
|
||||
)
|
||||
|
||||
echo.====================
|
||||
pause >nul
|
||||
28
requirements.txt
Normal file
28
requirements.txt
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
beautifulsoup4==4.12.0
|
||||
bs4==0.0.1
|
||||
certifi==2022.12.7
|
||||
cffi==1.15.1
|
||||
charset-normalizer==3.1.0
|
||||
darkdetect==0.8.0
|
||||
fake-headers==1.0.2
|
||||
gevent==22.10.2
|
||||
greenlet==2.0.2
|
||||
grequests==0.6.0
|
||||
html5lib==1.1
|
||||
idna==3.4
|
||||
msvc-runtime==14.34.31931
|
||||
Nuitka==1.5.4
|
||||
ordered-set==4.1.0
|
||||
pycparser==2.21
|
||||
pyperclip==1.8.2
|
||||
PyQt5==5.15.9
|
||||
PyQt5-Qt5==5.15.2
|
||||
PyQt5-sip==12.11.1
|
||||
requests==2.28.2
|
||||
six==1.16.0
|
||||
soupsieve==2.4
|
||||
urllib3==1.26.15
|
||||
webencodings==0.5.1
|
||||
zope.event==4.6
|
||||
zope.interface==6.0
|
||||
zstandard==0.20.0
|
||||
Loading…
Reference in a new issue