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 @@
chmod +x trimage.py)./trimage.pypython setup.py install into your consoletrimageHelp us make .deb's, rpms's etc: contact us
Mac