-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.pytest_cache* | ||
__pycache__* | ||
|
||
# Distribution / packaging | ||
imgp.egg-info | ||
dist/ | ||
build/ | ||
imgp.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# Resize or rotate JPEG and PNG images. | ||
# | ||
# Copyright © 2016-2019 Arun Prakash Jana <[email protected]> | ||
# Copyright © 2016-2020 Arun Prakash Jana <[email protected]> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
|
@@ -51,7 +51,7 @@ pad = '_IMGP' # output file suffix when --overwrite is unused | |
png_ip = PIL.Image.ANTIALIAS # default interpolation for PNG | ||
fill_color = '#ffffff' # BG color to strip alpha channel | ||
init_time = time.time() # profile the total time taken | ||
_VERSION_ = '2.6' # current program version | ||
_VERSION_ = '2.7' # current program version | ||
|
||
# Globals for multiprocessing | ||
pool = None | ||
|
@@ -455,7 +455,7 @@ class ExtendedArgumentParser(argparse.ArgumentParser): | |
|
||
file.write(''' | ||
Version %s | ||
Copyright © 2016-2019 Arun Prakash Jana <[email protected]> | ||
Copyright © 2016-2020 Arun Prakash Jana <[email protected]> | ||
License: GPLv3 | ||
Webpage: https://github.com/jarun/imgp | ||
''' % _VERSION_) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.TH "IMGP" "1" "20 Oct 2018" "Version 2.6" "User Commands" | ||
.TH "IMGP" "1" "21 Dec 2019" "Version 2.7" "User Commands" | ||
.SH NAME | ||
imgp \- Resize, rotate JPEG and PNG images. | ||
.SH SYNOPSIS | ||
|
@@ -211,7 +211,7 @@ Arun Prakash Jana <[email protected]> | |
.SH REPORTING BUGS | ||
.I https://github.com/jarun/imgp/issues | ||
.SH LICENSE | ||
Copyright \(co 2016-2019 Arun Prakash Jana <[email protected]> | ||
Copyright \(co 2016-2020 Arun Prakash Jana <[email protected]> | ||
.PP | ||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. | ||
.br | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,13 @@ | |
import sys | ||
|
||
from setuptools import setup, find_packages | ||
from pkg_resources import get_distribution, DistributionNotFound | ||
|
||
def get_dist(pkgname): | ||
try: | ||
return get_distribution(pkgname) | ||
except DistributionNotFound: | ||
return None | ||
|
||
shutil.copyfile('imgp', 'imgp.py') | ||
|
||
|
@@ -26,6 +33,7 @@ | |
author_email='[email protected]', | ||
url='https://github.com/jarun/imgp', | ||
license='GPLv3', | ||
license_file='LICENSE', | ||
python_requires='>=3.5', # requires pip>=9.0.0 | ||
platforms=['any'], | ||
py_modules=['imgp'], | ||
|
9a50724
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@szlin, @pabloariasal, @dilawar, @eclipseo imgp v2.7 is released!
9a50724
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in F30-F32.
9a50724
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jarun The new version of imgp has been uploaded into Debian archive.
Merry Christmas!
SZ
9a50724
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks guys! Merry Christmas to you too!