File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Visit [dcwelch.github.io/fr](https://dcwelch.github.io/fr) or the repo's [Releas
49
49
pillow
50
50
pillow-heif
51
51
pytz
52
+ piexif
52
53
```
53
54
- FFmpeg for ` ffprobe ` support (ensure it’s in your system PATH)
54
55
- pyinstaller (only if a new executable is desired)
@@ -74,9 +75,10 @@ To create a standalone executable:
74
75
``` bash
75
76
pip install pyinstaller
76
77
```
77
- 2 . Use the following command to generate the executable:
78
+ 2 . Use the following commands to generate the executable:
78
79
``` bash
79
- pyinstaller --noconfirm --noconsole --icon=file_renamer_icon.ico --add-data " file_renamer_icon.ico;." --hidden-import=pillow_heif --hidden-import=pytz.zoneinfo --exclude-module numpy --exclude-module mkl --exclude-module tcl --exclude-module tbb --exclude-module pywin32 --exclude-module psutil rename_files.py
80
+ $piexif_path = python -c " import piexif; import os; print(os.path.dirname(piexif.__file__))"
81
+ pyinstaller --clean --noconfirm --noconsole --icon=file_renamer_icon.ico --add-data " file_renamer_icon.ico;." --add-data " $piexif_path ;piexif" --hidden-import=pillow_heif --hidden-import=pytz.zoneinfo --hidden-import=piexif --collect-all pillow_heif --collect-all piexif --exclude-module numpy --exclude-module mkl --exclude-module tcl --exclude-module tbb --exclude-module pywin32 --exclude-module psutil --log-level=DEBUG rename_files.py
80
82
```
81
83
3 . The executable will be located in the ` dist/ ` folder
82
84
You can’t perform that action at this time.
0 commit comments