mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
Remove Windows options from setup.py
This commit is contained in:
parent
f5ff57ff48
commit
d6118b520b
1 changed files with 2 additions and 19 deletions
21
setup.py
21
setup.py
|
|
@ -1,13 +1,8 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
|
||||||
win=(sys.platform == "win32")
|
|
||||||
if win:
|
|
||||||
import py2exe
|
|
||||||
sys.path.append("trimage")
|
|
||||||
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
|
|
||||||
setup(name = "trimage",
|
setup(name = "trimage",
|
||||||
version = "1.0.5",
|
version = "1.0.5",
|
||||||
description = "Trimage image compressor - A cross-platform tool for optimizing PNG and JPG files",
|
description = "Trimage image compressor - A cross-platform tool for optimizing PNG and JPG files",
|
||||||
|
|
@ -23,17 +18,5 @@ setup(name = "trimage",
|
||||||
('share/man/man1', ['doc/trimage.1'])],
|
('share/man/man1', ['doc/trimage.1'])],
|
||||||
scripts = ["bin/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.""",
|
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"],
|
requires = ["PyQt5"]
|
||||||
|
|
||||||
#for py2exe
|
|
||||||
windows=[r'trimage\trimage.py'],
|
|
||||||
zipfile=None,
|
|
||||||
options={"py2exe":{
|
|
||||||
"optimize":2,
|
|
||||||
"compressed":1,
|
|
||||||
"bundle_files":1,
|
|
||||||
"includes":["sip",],
|
|
||||||
"excludes":['email'],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue