diff --git a/.gitignore b/.gitignore index 83658ec..b329234 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ *.pyc *.log +*.spec + +build/* +dist/* diff --git a/CNI_Revelator.py b/CNI_Revelator.py index 906dc86..dd890b1 100644 --- a/CNI_Revelator.py +++ b/CNI_Revelator.py @@ -104,4 +104,4 @@ except IOError: pass print("exit") -#sys.exit(0) \ No newline at end of file +sys.exit(0) \ No newline at end of file diff --git a/COMPILER.bat b/COMPILER.bat new file mode 100644 index 0000000..b69c8cf --- /dev/null +++ b/COMPILER.bat @@ -0,0 +1,10 @@ +@echo off +set /p version=Numero de version: + + +title Compilation du programme final + +call pyinstaller -w -D --exclude-module PyQt5 --bootloader-ignore-signals --add-data "C:\users\adrie\Anaconda3\Lib\site-packages\tld\res\effective_tld_names.dat.txt";"tld\res" --add-data "id-card.ico";"id-card.ico" -i "id-card.ico" -n CNIRevelator_%version%.exe CNI_Revelator.py + +pause + diff --git a/id-card.png b/id-card.png new file mode 100644 index 0000000..825e4ea Binary files /dev/null and b/id-card.png differ diff --git a/mrz.traineddata b/mrz.traineddata new file mode 100644 index 0000000..7ad31ea Binary files /dev/null and b/mrz.traineddata differ diff --git a/ocr-0.2.zip b/ocr-0.2.zip new file mode 100644 index 0000000..c2e315d Binary files /dev/null and b/ocr-0.2.zip differ