mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 18:08:42 -05:00
py2exe support
Usage: setup.py py2exe You must be able to start trimage.py before even attempting to use py2exe. It generates a standalone executable. That standalone exacutable starts up only if the following files can be found on the path: jpegoptim.exe optipng.exe advpng.exe (they must return 0) Compression does not work yet and the Windows versions of these tools are a lot slower than on Linux. The binaries I found were pretty old. They should most probably be recompiled to make use of new cpu features. Or we should find other tools. trimage.hurry.filename -> trimage.filename because py2exe couldn't deal with it
This commit is contained in:
parent
464337d033
commit
d282bcf8e9
5 changed files with 140 additions and 8 deletions
2
src/trimage/filesize/__init__.py
Normal file
2
src/trimage/filesize/__init__.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
from filesize import size
|
||||
from filesize import traditional, alternative, verbose, iec, si
|
||||
Loading…
Add table
Add a link
Reference in a new issue