From 7efecb7b8981d7d08a4cc1d570e3dac730768a22 Mon Sep 17 00:00:00 2001 From: Kilian Valkhof Date: Tue, 23 Mar 2010 17:45:51 +0100 Subject: [PATCH] work in progress --- MANIFEST.in | 1 + setup.py | 5 +++-- website/index.html | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index b06ee8d..9d28bcc 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ include trimage.py include ui.py +include trimage.desktop recursive-include pixmaps * recursive-include hurry * diff --git a/setup.py b/setup.py index 51696b6..63b7371 100644 --- a/setup.py +++ b/setup.py @@ -11,13 +11,14 @@ setup(name = "trimage", url = "http://trimage.org", license = "MIT license", packages = ["hurry", "hurry/filesize",""], - data_files = [("pixmaps", ["pixmaps/list-add.png", + data_files = [("share/applications", ["trimage.desktop"]), + ("pixmaps", ["pixmaps/list-add.png", "pixmaps/view-refresh.png", "pixmaps/compressing.gif", "pixmaps/trimage-icon.png"])], scripts = ["runner/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.""", - requires = ["PyQt4 (>4.4)"], + requires = ["PyQt4 (>=4.4)"], classifiers = [ 'Programming Language :: Python :: 2', 'Intended Audience :: Developers', diff --git a/website/index.html b/website/index.html index ebfce8d..76255c4 100644 --- a/website/index.html +++ b/website/index.html @@ -94,8 +94,8 @@
  1. Download the source via git or bzr (see repositories)
  2. Make sure you have all the requirements installed (see requirements)
  3. -
  4. make trimage.py executable (chmod +x trimage.py)
  5. -
  6. Start by clicking on trimage.py or launching it with ./trimage.py
  7. +
  8. Enter python setup.py install into your console
  9. +
  10. Launch by executing trimage

Help us make .deb's, rpms's etc: contact us

Mac