Initial mail exporter version
This commit is contained in:
21
.gitignore
vendored
Normal file
21
.gitignore
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
@"
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
|
||||
build/
|
||||
dist/
|
||||
|
||||
*.zip
|
||||
*.log
|
||||
|
||||
.tmp_prefs_test/
|
||||
Posta in arrivo/
|
||||
|
||||
.env
|
||||
.venv/
|
||||
venv/
|
||||
|
||||
*.spec~
|
||||
"@ | Out-File -Encoding utf8 .gitignore
|
||||
40
build_exe.bat
Normal file
40
build_exe.bat
Normal file
@@ -0,0 +1,40 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo.
|
||||
echo === MailExporter build ===
|
||||
echo Working directory: %CD%
|
||||
echo.
|
||||
|
||||
python -m PyInstaller --version >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo PyInstaller non risulta installato nell'ambiente Python corrente.
|
||||
echo.
|
||||
echo Installa le dipendenze con:
|
||||
echo python -m pip install pyinstaller customtkinter pywin32
|
||||
echo.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Pulizia build precedente...
|
||||
if exist build rmdir /s /q build
|
||||
if exist dist\MailExporter rmdir /s /q dist\MailExporter
|
||||
|
||||
echo.
|
||||
echo Avvio PyInstaller...
|
||||
python -m PyInstaller --clean --noconfirm mailexporter.spec
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo Build fallita.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Build completata.
|
||||
echo Eseguibile:
|
||||
echo %CD%\dist\MailExporter\MailExporter.exe
|
||||
echo.
|
||||
|
||||
endlocal
|
||||
1133
mail_exporter.py
Normal file
1133
mail_exporter.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user