large-image-source-openjpeg 1.27.1.dev30__tar.gz → 1.27.1.dev34__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (15) hide show
  1. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/PKG-INFO +1 -1
  2. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/large_image_source_openjpeg/__init__.py +2 -2
  3. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/large_image_source_openjpeg.egg-info/PKG-INFO +1 -1
  4. large-image-source-openjpeg-1.27.1.dev34/large_image_source_openjpeg.egg-info/requires.txt +5 -0
  5. large-image-source-openjpeg-1.27.1.dev30/large_image_source_openjpeg.egg-info/requires.txt +0 -5
  6. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/LICENSE +0 -0
  7. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/README.rst +0 -0
  8. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/large_image_source_openjpeg/girder_source.py +0 -0
  9. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/large_image_source_openjpeg.egg-info/SOURCES.txt +0 -0
  10. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/large_image_source_openjpeg.egg-info/dependency_links.txt +0 -0
  11. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/large_image_source_openjpeg.egg-info/entry_points.txt +0 -0
  12. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/large_image_source_openjpeg.egg-info/top_level.txt +0 -0
  13. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/pyproject.toml +0 -0
  14. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/setup.cfg +0 -0
  15. {large-image-source-openjpeg-1.27.1.dev30 → large-image-source-openjpeg-1.27.1.dev34}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: large-image-source-openjpeg
3
- Version: 1.27.1.dev30
3
+ Version: 1.27.1.dev34
4
4
  Summary: An Openjpeg tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -17,7 +17,6 @@
17
17
  import builtins
18
18
  import io
19
19
  import math
20
- import multiprocessing
21
20
  import os
22
21
  import queue
23
22
  import struct
@@ -29,6 +28,7 @@ from xml.etree import ElementTree
29
28
  import glymur
30
29
  import PIL.Image
31
30
 
31
+ import large_image
32
32
  from large_image.cache_util import LruCacheMetaclass, methodcache
33
33
  from large_image.constants import TILE_FORMAT_NUMPY, SourcePriority
34
34
  from large_image.exceptions import TileSourceError, TileSourceFileNotFoundError
@@ -104,7 +104,7 @@ class OpenjpegFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
104
104
  if not os.path.isfile(self._largeImagePath):
105
105
  raise TileSourceFileNotFoundError(self._largeImagePath) from None
106
106
  raise
107
- glymur.set_option('lib.num_threads', multiprocessing.cpu_count())
107
+ glymur.set_option('lib.num_threads', large_image.tilesource.utilities.cpu_count())
108
108
  self._openjpegHandles = queue.LifoQueue()
109
109
  for _ in range(self._maxOpenHandles - 1):
110
110
  self._openjpegHandles.put(None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: large-image-source-openjpeg
3
- Version: 1.27.1.dev30
3
+ Version: 1.27.1.dev34
4
4
  Summary: An Openjpeg tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -0,0 +1,5 @@
1
+ large-image>=1.27.1.dev34
2
+ glymur>=0.8.18
3
+
4
+ [girder]
5
+ girder-large-image>=1.27.1.dev34
@@ -1,5 +0,0 @@
1
- large-image>=1.27.1.dev30
2
- glymur>=0.8.18
3
-
4
- [girder]
5
- girder-large-image>=1.27.1.dev30