mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
more work in progress on installable trimage
This commit is contained in:
parent
b86c5aa8cd
commit
c0dceb88ad
4 changed files with 7 additions and 2 deletions
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.4 KiB |
6
setup.py
6
setup.py
|
|
@ -9,11 +9,13 @@ setup(name = "Trimage",
|
||||||
author_email = "help@trimage.org",
|
author_email = "help@trimage.org",
|
||||||
url = "http://trimage.org",
|
url = "http://trimage.org",
|
||||||
license = "MIT license",
|
license = "MIT license",
|
||||||
packages = ["hurry", "hurry/filesize",""],
|
packages = ["hurry", "hurry/filesize","ui",""],
|
||||||
data_files = [("pixmaps", ["pixmaps/list-add.png",
|
data_files = [("pixmaps", ["pixmaps/list-add.png",
|
||||||
"pixmaps/view-refresh.png",
|
"pixmaps/view-refresh.png",
|
||||||
"pixmaps/compressing.gif",
|
"pixmaps/compressing.gif",
|
||||||
"pixmaps/trimage-icon.png"])],
|
"pixmaps/trimage-icon.png"])],
|
||||||
scripts = ["trimage"],
|
scripts = ["trimage"],
|
||||||
long_description = """Trimage is a cross-platform GUI and command-line interface to optimize image files via optipng, advpng and jpegoptim, depending on the filetype (currently, PNG and JPG files are supported). It was inspired by imageoptim. All image files are losslessy compressed on the highest available compression levels. Trimage gives you various input functions to fit your own workflow: A regular file dialog, dragging and dropping and various command line options."""
|
long_description = """Trimage is a cross-platform GUI and command-line interface to optimize image files via optipng, advpng and jpegoptim, depending on the filetype (currently, PNG and JPG files are supported). It was inspired by imageoptim. All image files are losslessy compressed on the highest available compression levels. Trimage gives you various input functions to fit your own workflow: A regular file dialog, dragging and dropping and various command line options.""",
|
||||||
|
platforms = ["*nix", "mac", "windows"],
|
||||||
|
requires = ["PyQt4 (>4.4)"],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
2
trimage
2
trimage
|
|
@ -10,6 +10,8 @@ from PyQt4.QtCore import *
|
||||||
from PyQt4.QtGui import *
|
from PyQt4.QtGui import *
|
||||||
from hurry.filesize import *
|
from hurry.filesize import *
|
||||||
|
|
||||||
|
from ui import Ui_trimage
|
||||||
|
|
||||||
VERSION = "1.0.0b"
|
VERSION = "1.0.0b"
|
||||||
|
|
||||||
class StartQT4(QMainWindow):
|
class StartQT4(QMainWindow):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue