Guide to building Data-Recovery
-
Install Python
-
Run this command to use a Virtual Enviroment (This will help in a reduced compiled file size)
python -m pip install virtualenv
-
Create a virtual enviroment
virtualenv env
-
Activate the virtual enviroment
env\Scripts\activate.bat
-
Install requirements
pip install -r requirements.txt
-
Install PyInstaller to build the executable
pip install pyinstaller
-
Run these commands to compile
-
Normal Mode
pyinstaller recover.py --noconfirm --onefile --name "Data Recovery" --console
-
Hidden Mode
pyinstaller recover.py --noconfirm --onefile --name "Data Recovery" --windowed
-
-
Deactive the virtual enviroment
deactivate
Your compiled Data Recovery.exe
is available at ./dist