mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
Simplify the structure
This commit is contained in:
parent
117a1a36cc
commit
4e702d3f3a
13 changed files with 5 additions and 6 deletions
7
setup.py
7
setup.py
|
|
@ -4,7 +4,7 @@ import sys
|
|||
win=(sys.platform == "win32")
|
||||
if win:
|
||||
import py2exe
|
||||
sys.path.append("src/trimage")
|
||||
sys.path.append("trimage")
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
|
|
@ -15,19 +15,18 @@ setup(name = "trimage",
|
|||
author_email = "help@trimage.org",
|
||||
url = "http://trimage.org",
|
||||
license = "MIT license",
|
||||
package_dir = {'trimage' : 'src/trimage'},
|
||||
packages = ["trimage",
|
||||
"trimage.ThreadPool"],
|
||||
package_data = {"trimage" : ["pixmaps/*.*"] },
|
||||
data_files=[('share/icons/hicolor/scalable/apps', ['desktop/trimage.svg']),
|
||||
('share/applications', ['desktop/trimage.desktop']),
|
||||
('share/man/man1', ['doc/trimage.1'])],
|
||||
scripts = ["trimage"],
|
||||
scripts = ["bin/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 = ["PyQt5"],
|
||||
|
||||
#for py2exe
|
||||
windows=[r'src\trimage\trimage.py'],
|
||||
windows=[r'trimage\trimage.py'],
|
||||
zipfile=None,
|
||||
options={"py2exe":{
|
||||
"optimize":2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue