imagequant 1.1.0__tar.gz → 1.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. {imagequant-1.1.0/imagequant.egg-info → imagequant-1.1.2}/PKG-INFO +13 -1
  2. {imagequant-1.1.0 → imagequant-1.1.2}/README.rst +11 -0
  3. {imagequant-1.1.0 → imagequant-1.1.2}/imagequant/libimagequant_build.py +6 -0
  4. {imagequant-1.1.0 → imagequant-1.1.2/imagequant.egg-info}/PKG-INFO +13 -1
  5. {imagequant-1.1.0 → imagequant-1.1.2}/imagequant.egg-info/requires.txt +1 -0
  6. {imagequant-1.1.0 → imagequant-1.1.2}/setup.py +3 -1
  7. {imagequant-1.1.0 → imagequant-1.1.2}/LICENSE +0 -0
  8. {imagequant-1.1.0 → imagequant-1.1.2}/MANIFEST.in +0 -0
  9. {imagequant-1.1.0 → imagequant-1.1.2}/imagequant/__init__.py +0 -0
  10. {imagequant-1.1.0 → imagequant-1.1.2}/imagequant/libimagequant.h +0 -0
  11. {imagequant-1.1.0 → imagequant-1.1.2}/imagequant.egg-info/SOURCES.txt +0 -0
  12. {imagequant-1.1.0 → imagequant-1.1.2}/imagequant.egg-info/dependency_links.txt +0 -0
  13. {imagequant-1.1.0 → imagequant-1.1.2}/imagequant.egg-info/top_level.txt +0 -0
  14. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/COPYRIGHT +0 -0
  15. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/README.md +0 -0
  16. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/blur.c +0 -0
  17. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/blur.h +0 -0
  18. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/kmeans.c +0 -0
  19. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/kmeans.h +0 -0
  20. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/libimagequant.c +0 -0
  21. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/libimagequant.h +0 -0
  22. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/mediancut.c +0 -0
  23. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/mediancut.h +0 -0
  24. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/mempool.c +0 -0
  25. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/mempool.h +0 -0
  26. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/nearest.c +0 -0
  27. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/nearest.h +0 -0
  28. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/pam.c +0 -0
  29. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/pam.h +0 -0
  30. {imagequant-1.1.0 → imagequant-1.1.2}/libimagequant/version.txt +0 -0
  31. {imagequant-1.1.0 → imagequant-1.1.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: imagequant
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Image Quantization Library
5
5
  Home-page: https://github.com/wanadev/imagequant-python
6
6
  Author: Wanadev
@@ -15,6 +15,7 @@ Project-URL: Chat, https://discord.gg/BmUkEdMuFp
15
15
  Keywords: image libimagequant pngquant cffi
16
16
  License-File: LICENSE
17
17
  Requires-Dist: cffi>=1.0.0
18
+ Requires-Dist: setuptools
18
19
  Provides-Extra: dev
19
20
  Requires-Dist: nox; extra == "dev"
20
21
  Requires-Dist: flake8; extra == "dev"
@@ -167,6 +168,17 @@ Changelog
167
168
 
168
169
  * Nothing yet ;)
169
170
 
171
+ * **v1.1.2:**
172
+
173
+ * misc: Removed PyPy wheels for Windows AMD64 as they won't build (@flozz)
174
+ * misc: Fixed libimagequant build on newer GCC versions (@flozz)
175
+ * misc: Added Python 3.13 support (@flozz)
176
+ * misc!: Removed Python 3.8 support (@flozz)
177
+
178
+ * **v1.1.1:**
179
+
180
+ * dist: Build and publish arm64 wheels for Linux and Windows (@laggykiller, #9, #10)
181
+
170
182
  * **v1.1.0:**
171
183
 
172
184
  * Added options to set minimal and target (maximal) quality (@injet-zhou, #4)
@@ -142,6 +142,17 @@ Changelog
142
142
 
143
143
  * Nothing yet ;)
144
144
 
145
+ * **v1.1.2:**
146
+
147
+ * misc: Removed PyPy wheels for Windows AMD64 as they won't build (@flozz)
148
+ * misc: Fixed libimagequant build on newer GCC versions (@flozz)
149
+ * misc: Added Python 3.13 support (@flozz)
150
+ * misc!: Removed Python 3.8 support (@flozz)
151
+
152
+ * **v1.1.1:**
153
+
154
+ * dist: Build and publish arm64 wheels for Linux and Windows (@laggykiller, #9, #10)
155
+
145
156
  * **v1.1.0:**
146
157
 
147
158
  * Added options to set minimal and target (maximal) quality (@injet-zhou, #4)
@@ -1,6 +1,7 @@
1
1
  import os
2
2
 
3
3
  from cffi import FFI
4
+ from distutils import ccompiler
4
5
 
5
6
 
6
7
  _ROOT = os.path.abspath(os.path.dirname(__file__))
@@ -15,6 +16,10 @@ _LIBIMAGEQUANT_SRC = [
15
16
  "libimagequant.c",
16
17
  ]
17
18
 
19
+ CC_ARGS = []
20
+ if ccompiler.get_default_compiler() == "unix":
21
+ CC_ARGS = ["-Wno-incompatible-pointer-types"]
22
+
18
23
 
19
24
  ffibuilder = FFI()
20
25
  ffibuilder.set_source(
@@ -23,6 +28,7 @@ ffibuilder.set_source(
23
28
  include_dirs=[
24
29
  os.path.join(_ROOT, "..", "libimagequant"),
25
30
  ],
31
+ extra_compile_args=CC_ARGS,
26
32
  )
27
33
  ffibuilder.cdef(open(_LIBIMAGEQUANT_H, "r").read())
28
34
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: imagequant
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Image Quantization Library
5
5
  Home-page: https://github.com/wanadev/imagequant-python
6
6
  Author: Wanadev
@@ -15,6 +15,7 @@ Project-URL: Chat, https://discord.gg/BmUkEdMuFp
15
15
  Keywords: image libimagequant pngquant cffi
16
16
  License-File: LICENSE
17
17
  Requires-Dist: cffi>=1.0.0
18
+ Requires-Dist: setuptools
18
19
  Provides-Extra: dev
19
20
  Requires-Dist: nox; extra == "dev"
20
21
  Requires-Dist: flake8; extra == "dev"
@@ -167,6 +168,17 @@ Changelog
167
168
 
168
169
  * Nothing yet ;)
169
170
 
171
+ * **v1.1.2:**
172
+
173
+ * misc: Removed PyPy wheels for Windows AMD64 as they won't build (@flozz)
174
+ * misc: Fixed libimagequant build on newer GCC versions (@flozz)
175
+ * misc: Added Python 3.13 support (@flozz)
176
+ * misc!: Removed Python 3.8 support (@flozz)
177
+
178
+ * **v1.1.1:**
179
+
180
+ * dist: Build and publish arm64 wheels for Linux and Windows (@laggykiller, #9, #10)
181
+
170
182
  * **v1.1.0:**
171
183
 
172
184
  * Added options to set minimal and target (maximal) quality (@injet-zhou, #4)
@@ -1,4 +1,5 @@
1
1
  cffi>=1.0.0
2
+ setuptools
2
3
 
3
4
  [dev]
4
5
  nox
@@ -13,7 +13,7 @@ if os.path.isfile("README.rst"):
13
13
 
14
14
  setup(
15
15
  name="imagequant",
16
- version="1.1.0",
16
+ version="1.1.2",
17
17
  description="Image Quantization Library",
18
18
  url="https://github.com/wanadev/imagequant-python",
19
19
  project_urls={
@@ -32,9 +32,11 @@ setup(
32
32
  packages=find_packages(),
33
33
  setup_requires=[
34
34
  "cffi>=1.0.0",
35
+ "setuptools",
35
36
  ],
36
37
  install_requires=[
37
38
  "cffi>=1.0.0",
39
+ "setuptools",
38
40
  ],
39
41
  extras_require={
40
42
  "dev": [
File without changes
File without changes
File without changes