Commit 9a50724 1 parent 78596a1 commit 9a50724 Copy full SHA for 9a50724
File tree 7 files changed +56
-10
lines changed
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
+
1
12
imgp v2.6
2
13
2018-10-20
3
14
Original file line number Diff line number Diff line change @@ -254,5 +254,5 @@ optional arguments:
254
254
255
255
### Developers
256
256
257
- 1 . Copyright © 2016-2019 [ Arun Prakash Jana] ( https://github.com/jarun )
257
+ 1 . Copyright © 2016-2020 [ Arun Prakash Jana] ( https://github.com/jarun )
258
258
2 . [ Ananya Jana] ( https://github.com/ananyajana )
Original file line number Diff line number Diff line change 2
2
#
3
3
# Resize or rotate JPEG and PNG images.
4
4
#
5
- # Copyright © 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
5
+ # Copyright © 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
6
6
#
7
7
# This program is free software: you can redistribute it and/or modify
8
8
# 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
51
51
png_ip = PIL .Image .ANTIALIAS # default interpolation for PNG
52
52
fill_color = '#ffffff' # BG color to strip alpha channel
53
53
init_time = time .time () # profile the total time taken
54
- _VERSION_ = '2.6 ' # current program version
54
+ _VERSION_ = '2.7 ' # current program version
55
55
56
56
# Globals for multiprocessing
57
57
pool = None
@@ -455,7 +455,7 @@ class ExtendedArgumentParser(argparse.ArgumentParser):
455
455
456
456
file .write ('''
457
457
Version %s
458
- Copyright © 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
458
+ Copyright © 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
459
459
License: GPLv3
460
460
Webpage: https://github.com/jarun/imgp
461
461
''' % _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"
2
2
.SH NAME
3
3
imgp \- Resize, rotate JPEG and PNG images.
4
4
.SH SYNOPSIS
@@ -211,7 +211,7 @@ Arun Prakash Jana <engineerarun@gmail.com>
211
211
.SH REPORTING BUGS
212
212
.I https://github.com/jarun/imgp/issues
213
213
.SH LICENSE
214
- Copyright \(co 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
214
+ Copyright \(co 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
215
215
.PP
216
216
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
217
217
.br
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ packages:
14
14
- python-pillow
15
15
- python
16
16
container : " archlinux/base"
17
- centos7.3 :
17
+ centos7.5 :
18
18
builddeps :
19
19
- make
20
20
deps :
@@ -23,7 +23,7 @@ packages:
23
23
commands :
24
24
pre :
25
25
- yum install epel-release
26
- centos7.4 :
26
+ centos7.6 :
27
27
builddeps :
28
28
- make
29
29
deps :
@@ -32,20 +32,39 @@ packages:
32
32
commands :
33
33
pre :
34
34
- 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
35
44
debian9 :
36
45
builddeps :
37
46
- make
38
47
deps :
39
48
- python3-pillow
40
49
- python3
41
- fedora28 :
50
+ debian10 :
42
51
builddeps :
43
52
- make
44
53
deps :
45
54
- python3-pillow
46
55
- python3
47
- fedora29 :
56
+ fedora30 :
48
57
builddeps :
58
+ - make
59
+ deps :
60
+ - python3-pillow
61
+ - python3
62
+ fedora31 :
63
+ builddeps :
64
+ - make
65
+ deps :
66
+ - python3-pillow
67
+ - python3
49
68
opensuse42.3 :
50
69
builddeps :
51
70
- make
Original file line number Diff line number Diff line change 5
5
import sys
6
6
7
7
from 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
8
15
9
16
shutil .copyfile ('imgp' , 'imgp.py' )
10
17
26
33
author_email = 'engineerarun@gmail.com' ,
27
34
url = 'https://github.com/jarun/imgp' ,
28
35
license = 'GPLv3' ,
36
+ license_file = 'LICENSE' ,
29
37
python_requires = '>=3.5' , # requires pip>=9.0.0
30
38
platforms = ['any' ],
31
39
py_modules = ['imgp' ],
You can’t perform that action at this time.
0 commit comments