This commit is contained in:
2025-09-25 22:26:32 +03:00
parent 854b6980bc
commit 02277dd55b
27 changed files with 3636 additions and 1855 deletions

View File

@@ -0,0 +1,39 @@
# PORTABLE PYTHON PACKAGE INSTRUCTIONS
To create a complete self-contained package, you need to include a portable Python interpreter.
## Option 1: Download Embedded Python (Recommended)
1. Download Python 3.11 Embedded from: https://www.python.org/downloads/windows/
2. Choose "Windows embeddable package (64-bit)" or "(32-bit)"
3. Extract to a folder named 'python_portable'
4. The structure should be:
python_portable/
├── python.exe
├── python311.dll (or similar)
├── pythoncom311.dll
└── ... (other Python files)
## Option 2: Use PyInstaller (Alternative)
1. Install PyInstaller: pip install pyinstaller
2. Run: pyinstaller --onefile --noconsole print_service_complete.py
3. This creates a single .exe file with all dependencies
## Option 3: Manual Python Installation Check
The installer will check for system Python and use it if available.
## Current Package Structure
This package includes:
✓ Complete Python script with all dependencies
✓ Windows service installer
✓ Chrome extension
✓ Logging and error handling
✓ Multiple printing method fallbacks
✓ Automatic recovery options
## Dependencies Included in Python Script:
- All standard library modules (http.server, json, subprocess, etc.)
- No external dependencies required
- Pure Python implementation
The service will work with any Python 3.7+ installation.