massive overhaul of directory to make it work nicer with .deb generation

This commit is contained in:
Kilian Valkhof 2010-03-23 20:48:17 +01:00
parent 41672b8a39
commit 8dcec263ff
31 changed files with 384 additions and 64 deletions

View file

@ -1,31 +1,22 @@
#!/usr/bin/env python
from distutils.core import setup
from trimage import VERSION
setup(name = "trimage",
version = VERSION,
description = "Trimage image compressor - A cross-platform tool for optimizing PNG and JPG files",
author = "Kilian Valkhof, Paul Chaplin",
author_email = "help@trimage.org",
url = "http://trimage.org",
license = "MIT license",
packages = ["hurry", "hurry/filesize",""],
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)"],
classifiers = [
'Programming Language :: Python :: 2',
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: End Users/Desktop'
'Intended Audience :: Developers',
'Operating System :: POSIX :: linux',
],
)
version = "1.0.0b",
description = "Trimage image compressor - A cross-platform tool for optimizing PNG and JPG files",
author = "Kilian Valkhof, Paul Chaplin",
author_email = "help@trimage.org",
url = "http://trimage.org",
license = "MIT license",
package_dir = {'trimage' : 'src/trimage'},
packages = ["trimage",
"trimage.hurry",
"trimage.hurry.filesize"],
package_data = {"trimage" : ["pixmaps/*.*"] },
data_files=[('share/icons/hicolor/scalable/apps', ['desktop/trimage.svg']),
('share/applications', ['desktop/trimage.desktop'])],
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.""",
requires = ["PyQt4 (>=4.4)"],
)