large-image-source-pil 1.30.7.dev26__tar.gz → 1.30.7.dev30__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 (15) hide show
  1. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/PKG-INFO +5 -4
  2. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/large_image_source_pil/__init__.py +3 -1
  3. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/large_image_source_pil.egg-info/PKG-INFO +5 -4
  4. large_image_source_pil-1.30.7.dev30/large_image_source_pil.egg-info/requires.txt +15 -0
  5. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/setup.py +2 -1
  6. large_image_source_pil-1.30.7.dev26/large_image_source_pil.egg-info/requires.txt +0 -10
  7. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/LICENSE +0 -0
  8. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/README.rst +0 -0
  9. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/large_image_source_pil/girder_source.py +0 -0
  10. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/large_image_source_pil.egg-info/SOURCES.txt +0 -0
  11. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/large_image_source_pil.egg-info/dependency_links.txt +0 -0
  12. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/large_image_source_pil.egg-info/entry_points.txt +0 -0
  13. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/large_image_source_pil.egg-info/top_level.txt +0 -0
  14. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/pyproject.toml +0 -0
  15. {large_image_source_pil-1.30.7.dev26 → large_image_source_pil-1.30.7.dev30}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: large-image-source-pil
3
- Version: 1.30.7.dev26
3
+ Version: 1.30.7.dev30
4
4
  Summary: A Pillow tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -19,14 +19,15 @@ Classifier: Programming Language :: Python :: 3.13
19
19
  Requires-Python: >=3.8
20
20
  Description-Content-Type: text/x-rst
21
21
  License-File: LICENSE
22
- Requires-Dist: large-image>=1.30.7.dev26
22
+ Requires-Dist: large-image>=1.30.7.dev30
23
23
  Provides-Extra: all
24
24
  Requires-Dist: rawpy; extra == "all"
25
25
  Requires-Dist: pillow-heif; extra == "all"
26
- Requires-Dist: pillow-jxl-plugin; extra == "all"
26
+ Requires-Dist: pillow-jxl-plugin<1.3; python_version < "3.8" and extra == "all"
27
+ Requires-Dist: pillow-jxl-plugin; python_version >= "3.9" and extra == "all"
27
28
  Requires-Dist: pillow-jpls; extra == "all"
28
29
  Provides-Extra: girder
29
- Requires-Dist: girder-large-image>=1.30.7.dev26; extra == "girder"
30
+ Requires-Dist: girder-large-image>=1.30.7.dev30; extra == "girder"
30
31
 
31
32
  A Pillow tilesource for large_image.
32
33
 
@@ -224,9 +224,11 @@ class PILFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
224
224
  """
225
225
  # if rawpy is present, try reading via that library first
226
226
  try:
227
+ import builtins
228
+
227
229
  import rawpy
228
230
 
229
- with contextlib.redirect_stderr(open(os.devnull, 'w')):
231
+ with contextlib.redirect_stderr(builtins.open(os.devnull, 'w')):
230
232
  rgb = rawpy.imread(largeImagePath).postprocess()
231
233
  rgb = large_image.tilesource.utilities._imageToNumpy(rgb)[0]
232
234
  if rgb.shape[2] == 2:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: large-image-source-pil
3
- Version: 1.30.7.dev26
3
+ Version: 1.30.7.dev30
4
4
  Summary: A Pillow tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -19,14 +19,15 @@ Classifier: Programming Language :: Python :: 3.13
19
19
  Requires-Python: >=3.8
20
20
  Description-Content-Type: text/x-rst
21
21
  License-File: LICENSE
22
- Requires-Dist: large-image>=1.30.7.dev26
22
+ Requires-Dist: large-image>=1.30.7.dev30
23
23
  Provides-Extra: all
24
24
  Requires-Dist: rawpy; extra == "all"
25
25
  Requires-Dist: pillow-heif; extra == "all"
26
- Requires-Dist: pillow-jxl-plugin; extra == "all"
26
+ Requires-Dist: pillow-jxl-plugin<1.3; python_version < "3.8" and extra == "all"
27
+ Requires-Dist: pillow-jxl-plugin; python_version >= "3.9" and extra == "all"
27
28
  Requires-Dist: pillow-jpls; extra == "all"
28
29
  Provides-Extra: girder
29
- Requires-Dist: girder-large-image>=1.30.7.dev26; extra == "girder"
30
+ Requires-Dist: girder-large-image>=1.30.7.dev30; extra == "girder"
30
31
 
31
32
  A Pillow tilesource for large_image.
32
33
 
@@ -0,0 +1,15 @@
1
+ large-image>=1.30.7.dev30
2
+
3
+ [all]
4
+ rawpy
5
+ pillow-heif
6
+ pillow-jpls
7
+
8
+ [all:python_version < "3.8"]
9
+ pillow-jxl-plugin<1.3
10
+
11
+ [all:python_version >= "3.9"]
12
+ pillow-jxl-plugin
13
+
14
+ [girder]
15
+ girder-large-image>=1.30.7.dev30
@@ -58,7 +58,8 @@ setup(
58
58
  'all': [
59
59
  'rawpy',
60
60
  'pillow-heif',
61
- 'pillow-jxl-plugin',
61
+ 'pillow-jxl-plugin < 1.3 ; python_version < "3.8"',
62
+ 'pillow-jxl-plugin ; python_version >= "3.9"',
62
63
  'pillow-jpls',
63
64
  ],
64
65
  'girder': f'girder-large-image{limit_version}',
@@ -1,10 +0,0 @@
1
- large-image>=1.30.7.dev26
2
-
3
- [all]
4
- rawpy
5
- pillow-heif
6
- pillow-jxl-plugin
7
- pillow-jpls
8
-
9
- [girder]
10
- girder-large-image>=1.30.7.dev26