File tree Expand file tree Collapse file tree 7 files changed +56
-10
lines changed
Expand file tree Collapse file tree 7 files changed +56
-10
lines changed Original file line number Diff line number Diff line change 1+ .pytest_cache *
2+ __pycache__ *
3+
4+ # Distribution / packaging
5+ imgp.egg-info
6+ dist /
7+ build /
8+ imgp.py
Original file line number Diff line number Diff line change 1+ imgp v2.7
2+ 2019-12-21
3+
4+ What's in?
5+ - Code lint fixes
6+ - Package uploaded to PyPI
7+ - New auto-generated packages for - CentOS, Debian, Fedora
8+ - Update copyright year
9+
10+ -------------------------------------------------------------------------------
11+
112imgp v2.6
2132018-10-20
314
Original file line number Diff line number Diff line change @@ -254,5 +254,5 @@ optional arguments:
254254
255255### Developers
256256
257- 1 . Copyright © 2016-2019 [ Arun Prakash Jana] ( https://github.com/jarun )
257+ 1 . Copyright © 2016-2020 [ Arun Prakash Jana] ( https://github.com/jarun )
2582582 . [ Ananya Jana] ( https://github.com/ananyajana )
Original file line number Diff line number Diff line change 22#
33# Resize or rotate JPEG and PNG images.
44#
5- # Copyright © 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
5+ # Copyright © 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
66#
77# This program is free software: you can redistribute it and/or modify
88# 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
5151png_ip = PIL .Image .ANTIALIAS # default interpolation for PNG
5252fill_color = '#ffffff' # BG color to strip alpha channel
5353init_time = time .time () # profile the total time taken
54- _VERSION_ = '2.6 ' # current program version
54+ _VERSION_ = '2.7 ' # current program version
5555
5656# Globals for multiprocessing
5757pool = None
@@ -455,7 +455,7 @@ class ExtendedArgumentParser(argparse.ArgumentParser):
455455
456456 file .write ('''
457457Version %s
458- Copyright © 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
458+ Copyright © 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
459459License: GPLv3
460460Webpage: https://github.com/jarun/imgp
461461''' % _VERSION_ )
Original file line number Diff line number Diff line change 1- .TH "IMGP" "1" "20 Oct 2018 " "Version 2.6 " "User Commands"
1+ .TH "IMGP" "1" "21 Dec 2019 " "Version 2.7 " "User Commands"
22.SH NAME
33imgp \- Resize, rotate JPEG and PNG images.
44.SH SYNOPSIS
@@ -211,7 +211,7 @@ Arun Prakash Jana <engineerarun@gmail.com>
211211.SH REPORTING BUGS
212212.I https://github.com/jarun/imgp/issues
213213.SH LICENSE
214- Copyright \(co 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
214+ Copyright \(co 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
215215.PP
216216License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
217217.br
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ packages:
1414 - python-pillow
1515 - python
1616 container : " archlinux/base"
17- centos7.3 :
17+ centos7.5 :
1818 builddeps :
1919 - make
2020 deps :
@@ -23,7 +23,7 @@ packages:
2323 commands :
2424 pre :
2525 - yum install epel-release
26- centos7.4 :
26+ centos7.6 :
2727 builddeps :
2828 - make
2929 deps :
@@ -32,20 +32,39 @@ packages:
3232 commands :
3333 pre :
3434 - yum install epel-release
35+ # centos8.0:
36+ # builddeps:
37+ # - make
38+ # deps:
39+ # - python-pillow
40+ # - python
41+ # commands:
42+ # pre:
43+ # - yum install epel-release
3544 debian9 :
3645 builddeps :
3746 - make
3847 deps :
3948 - python3-pillow
4049 - python3
41- fedora28 :
50+ debian10 :
4251 builddeps :
4352 - make
4453 deps :
4554 - python3-pillow
4655 - python3
47- fedora29 :
56+ fedora30 :
4857 builddeps :
58+ - make
59+ deps :
60+ - python3-pillow
61+ - python3
62+ fedora31 :
63+ builddeps :
64+ - make
65+ deps :
66+ - python3-pillow
67+ - python3
4968 opensuse42.3 :
5069 builddeps :
5170 - make
Original file line number Diff line number Diff line change 55import sys
66
77from setuptools import setup , find_packages
8+ from pkg_resources import get_distribution , DistributionNotFound
9+
10+ def get_dist (pkgname ):
11+ try :
12+ return get_distribution (pkgname )
13+ except DistributionNotFound :
14+ return None
815
916shutil .copyfile ('imgp' , 'imgp.py' )
1017
2633 author_email = 'engineerarun@gmail.com' ,
2734 url = 'https://github.com/jarun/imgp' ,
2835 license = 'GPLv3' ,
36+ license_file = 'LICENSE' ,
2937 python_requires = '>=3.5' , # requires pip>=9.0.0
3038 platforms = ['any' ],
3139 py_modules = ['imgp' ],
You can’t perform that action at this time.
0 commit comments