shibukawa / imagesize_py

MIT License
222 stars 43 forks source link

[1.2.0] Git tag and some 1.2.0 changes missing in Git master? #39

Open hartwork opened 4 years ago

hartwork commented 4 years ago

Hi!

I noticed that the tag-based release listing of this repository does not show a release 1.2.0 while the listing on PyPI does. So I had a closer look and found that the latest release on PyPI has some tiny changes that I cannot find in Git history. Maybe that can be fixed? Am I missing something?

Thanks and best, Sebastian

diff -ur imagesize_py/README.rst imagesize-1.2.0/README.rst
--- imagesize_py/README.rst     2020-03-05 01:49:29.201029087 +0100
+++ imagesize-1.2.0/README.rst  2019-12-26 17:09:43.000000000 +0100
@@ -21,6 +21,12 @@
 * ``imagesize.get(filepath)``

   Returns image size (width, height).
+  ``get_from_bytes(bytes)`` is for bytes.
+
+* ``imagesize.getDPI(filepath)``
+
+  Returns DPI value.
+  ``getDPI_from_bytes(bytes)`` is for bytes.

 Benchmark
 ------------
@@ -83,4 +89,6 @@
 * Jon Dufresne (https://github.com/jdufresne)
 * Geoff Lankow (https://github.com/darktrojan)
 * Hugo (https://github.com/hugovk)
-
+* Jack Cherng (https://github.com/jfcherng)
+* Tyler A. Young (https://github.com/s3cur3)
+* Mark Browning (https://github.com/mabrowning)
diff -ur imagesize_py/setup.cfg imagesize-1.2.0/setup.cfg
--- imagesize_py/setup.cfg      2020-03-05 01:49:29.201029087 +0100
+++ imagesize-1.2.0/setup.cfg   2019-12-26 17:13:14.000000000 +0100
@@ -2,4 +2,9 @@
 universal = 1

 [metadata]
-license_file = LICENSE.rst
\ No newline at end of file
+license_file = LICENSE.rst
+
+[egg_info]
+tag_build = 
+tag_date = 0
+
diff -ur imagesize_py/setup.py imagesize-1.2.0/setup.py
--- imagesize_py/setup.py       2020-03-05 01:49:29.201029087 +0100
+++ imagesize-1.2.0/setup.py    2019-12-26 17:10:15.000000000 +0100
@@ -3,7 +3,7 @@
 from setuptools import setup

 setup(name='imagesize',
-      version='1.1.0',
+      version='1.2.0',
       description='Getting image size from png/jpeg/jpeg2000/gif file',
       long_description='''
 It parses image files' header and return image size.
@@ -13,6 +13,7 @@
 * JPEG2000
 * GIF
 * TIFF (experimental)
+* SVG

 This is a pure Python library.
 ''',
@@ -37,6 +38,7 @@
           'Programming Language :: Python :: 3.5',
           'Programming Language :: Python :: 3.6',
           'Programming Language :: Python :: 3.7',
+          'Programming Language :: Python :: 3.8',
           'Programming Language :: Python :: Implementation :: CPython',
           'Programming Language :: Python :: Implementation :: PyPy',
           'Topic :: Multimedia :: Graphics'
hartwork commented 4 years ago

@shibukawa do you have a minute?